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

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

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

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

Post by Red2 » Fri Oct 18, 2019 9:34 pm

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: 424
Joined: Tue May 24, 2016 4:36 pm
DBs Used: DBF
Has thanked: 122 times
Been thanked: 60 times

Post by Anand » 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
Image

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

Post by mol » Sun Oct 20, 2019 7:04 am

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: 44
Joined: Sat May 18, 2019 2:11 pm
DBs Used: DBF, FoxPro, Visual FoxPro
Location: United States (East Coast)
Has thanked: 13 times
Been thanked: 2 times

Post by Red2 » Sun Oct 20, 2019 5:53 pm

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 » Mon Oct 21, 2019 3:48 pm

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: 44
Joined: Sat May 18, 2019 2:11 pm
DBs Used: DBF, FoxPro, Visual FoxPro
Location: United States (East Coast)
Has thanked: 13 times
Been thanked: 2 times

Post by Red2 » Mon Oct 21, 2019 4:49 pm

Hi Marin,

Thank you very much. That is a fine resource.

Regards,
Red2

Post Reply