IDE -- Is it possible to COPY controls on a form?

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
Red2
Posts: 75
Joined: Sat May 18, 2019 2:11 pm
DBs Used: DBF, FoxPro, Visual FoxPro
Location: United States (East Coast)
Has thanked: 28 times
Been thanked: 4 times

IDE -- Is it possible to COPY controls on a form?

Post by Red2 »

I find that HMG is far more powerful than its current "Help" file reveals. I have explored HMG for only about 6 months so have questions. For example:

Question: In HMG's IDE is there some way to directly copy an existing control right there on the form?

Right now I must:
  • exit the project
    open the .FMG file in notepad++
    copy and paste the control
    make necessary name, row, column, etc. changes
    save the file
    reload the project
    reopen the form
Is there a better way?

Thank you all for your kind help.

Red2


User avatar
Anand
Posts: 481
Joined: Tue May 24, 2016 4:36 pm
DBs Used: DBF
Has thanked: 184 times
Been thanked: 69 times

Post by Anand »

I think right-click on the control in the ide gives you context menu with 'copy/duplicate'
Also I remember there was a button for duplicate control on top right, not sure.

Regards,

Anand
Image

User avatar
mol
Posts: 3343
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Has thanked: 253 times
Been thanked: 155 times
Contact:

Post by mol »

Anand wrote:
Sat Oct 19, 2019 10:20 am
I think right-click on the control in the ide gives you context menu with 'copy/duplicate'
Also I remember there was a button for duplicate control on top right, not sure.

Regards,

Anand
Not in hmg IDE

Red2
Posts: 75
Joined: Sat May 18, 2019 2:11 pm
DBs Used: DBF, FoxPro, Visual FoxPro
Location: United States (East Coast)
Has thanked: 28 times
Been thanked: 4 times

Post by Red2 »

Hi all,

I am getting used to the notepad++ editing workaround. Thank you for your kinf answers and guidance.

Red2

Marin
Posts: 32
Joined: Tue Dec 20, 2016 1:39 pm
DBs Used: DBF
Location: Bulgaria, Sofia
Has thanked: 36 times
Been thanked: 5 times
Contact:

Post by Marin »

Hi, Red2,

This might be a little bit aside yor question but you could check it:
https://www.hmgforum.com/viewtopic.php?f=5&t=6122

Dragan (dragancesu) made a wonderfull job there.

Kind regards,
Marin

Red2
Posts: 75
Joined: Sat May 18, 2019 2:11 pm
DBs Used: DBF, FoxPro, Visual FoxPro
Location: United States (East Coast)
Has thanked: 28 times
Been thanked: 4 times

Post by Red2 »

Hi Marin,

Thank you very much. That is a fine resource.

Regards,
Red2

Post Reply