Page 1 of 1

How to open form without project

Posted: Thu Jun 04, 2020 6:57 pm
by vlademiro
Hi all
This is my first post in this group.
I'm using HMG.3.4.4 and would like be know how to open form only to addition without open project too.

E.g:

Code: Select all

c:\myfolder\ide.exe form.fmg
Thanks all

Re: How to open form without project

Posted: Thu Jun 04, 2020 8:47 pm
by dragancesu
No this way
You have pair prg/fmg, from prg call fmg

look samples

Re: How to open form without project

Posted: Thu Jun 04, 2020 9:43 pm
by danielmaximiliano
vlademiro wrote: Thu Jun 04, 2020 6:57 pm I'm using HMG.3.4.4 and would like be know how to open form only to addition without open project too.
by default the IDE must be the project open, to do it autonomously it is necessary to use your preferred text editor

Re: How to open form without project

Posted: Thu Jun 04, 2020 10:45 pm
by AUGE_OHR
hi,

my HBFM Tool does create FMG from DBF which will be "accept" by HMG IDE Form-Designer
DBF2FMG.ZIP
(2.23 KiB) Downloaded 158 times
it include

Code: Select all

FUNCTION Cre_Form( aSize )
FUNCTION Cre_Label( nNo, nRow, nCol, nWidth, nHeight, cValue )
FUNCTION Cre_Textbox( nNo, nRow, nCol, nWidth, nHeight, cField, cType, nLen, nDec )
FUNCTION Cre_CheckBox( nNo, nRow, nCol, nWidth, nHeight, cName )
as i can say you "full-Set" like IDE generate to fill Property Box else IDE will not accept it.
so make a Demo for all Controls you want to use and use that Code to "copy/paste" into your Source FMG

Re: How to open form without project

Posted: Fri Jun 05, 2020 11:16 am
by Anand
vlademiro wrote: Thu Jun 04, 2020 6:57 pm Hi all
This is my first post in this group.
I'm using HMG.3.4.4 and would like be know how to open form only to addition without open project too.

E.g:

Code: Select all

c:\myfolder\ide.exe form.fmg
Thanks all
Your code will not work in HMG, but will work in HMG MiniGUI
I use MiniGUI and open form by this way always.

Regards,

Anand

Re: How to open form without project

Posted: Fri Jun 05, 2020 4:27 pm
by vlademiro
AUGE_OHR wrote: Thu Jun 04, 2020 10:45 pm hi,

my HBFM Tool does create FMG from DBF which will be "accept" by HMG IDE Form-Designer
DBF2FMG.ZIP
Thanks AUGE_OHR, I Will test

Re: How to open form without project

Posted: Fri Jun 05, 2020 4:31 pm
by vlademiro
Anand wrote: Fri Jun 05, 2020 11:16 am

Your code will not work in HMG, but will work in HMG MiniGUI
I use MiniGUI and open form by this way always.

Regards,

Anand
Is It a HMG Extend ? where do i download?

Thanks

Re: How to open form without project

Posted: Fri Jun 05, 2020 4:34 pm
by vlademiro
Thanks all

Re: How to open form without project

Posted: Fri Jun 05, 2020 8:19 pm
by danielmaximiliano
vlademiro wrote: Fri Jun 05, 2020 4:31 pm
Is It a HMG Extend ? where do i download?

Thanks


http://hmgforum.com/viewtopic.php?f=15&t=6456

Re: How to open form without project

Posted: Fri Jun 05, 2020 10:33 pm
by vlademiro
Thanks, ide.exe open fmg file now.