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

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
Red2
Posts: 273
Joined: Sat May 18, 2019 2:11 pm
DBs Used: Visual FoxPro, FoxPro
Location: United States of America

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: 595
Joined: Tue May 24, 2016 4:36 pm
DBs Used: DBF

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

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
Regards,

Anand

Image
User avatar
mol
Posts: 3720
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

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

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: 273
Joined: Sat May 18, 2019 2:11 pm
DBs Used: Visual FoxPro, FoxPro
Location: United States of America

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

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: 33
Joined: Tue Dec 20, 2016 1:39 pm
DBs Used: DBF
Location: Bulgaria, Sofia
Contact:

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

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: 273
Joined: Sat May 18, 2019 2:11 pm
DBs Used: Visual FoxPro, FoxPro
Location: United States of America

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

Post by Red2 »

Hi Marin,

Thank you very much. That is a fine resource.

Regards,
Red2
Post Reply