Page 2 of 3

Re: Dynamic Controls - a good idea

Posted: Tue May 31, 2016 11:11 am
by bpd2000
Fantastic
Thanks for sharing, Brunello !!

Re: Dynamic Controls - a good idea

Posted: Mon Mar 27, 2017 2:04 pm
by t57042
Hello Brunello,
I'm trying to test your dynamic controls.
The demo program compiles and runs although Ib find no reference to KForm3.prg .
this test compiles but does not run;
how comes?
Richard

Code: Select all

#include "KForm3.prg"
FV3_OpenModal('Empty Window')
FV3_Show()
FV3_Result() 

Re: Dynamic Controls - a good idea

Posted: Mon Mar 27, 2017 5:54 pm
by brunellopulix
there are no controls and there is the main windows

try:

#include "KForm3.prg"
FV3_OpenMain('Empty Window')
FV3_Show(1)
FV3_Result()

Re: Dynamic Controls - a good idea

Posted: Mon Mar 27, 2017 10:01 pm
by t57042
same result: compiles without error, but does't show anything.
I use hmg 3.4.3

Richard

Re: Dynamic Controls - a good idea

Posted: Tue Mar 28, 2017 6:56 am
by brunellopulix
sorry I missed that:

#include "KForm3.prg" it's wrong.

You will add kform3.prg in your .hbp

Brunello

Re: Dynamic Controls - a good idea

Posted: Tue Mar 28, 2017 7:23 am
by t57042
I dont use . hbp

Re: Dynamic Controls - a good idea

Posted: Tue Mar 28, 2017 7:38 am
by brunellopulix
build your.prg kform3.prg

Re: Dynamic Controls - a good idea

Posted: Tue Mar 28, 2017 7:49 am
by t57042
What do you mean by this?
I don't use IDE , so I should include this: #include "KForm3.prg" ??
----------------------------------
#include "KForm3.prg"
FV3_OpenMain('Empty Window')
FV3_Show(1)
FV3_Result()
-------------------------------------
This should work, no?

Re: Dynamic Controls - a good idea

Posted: Tue Mar 28, 2017 8:44 am
by brunellopulix
No Ide
Build.Bat in HMG foder

Re: Dynamic Controls - a good idea

Posted: Tue Mar 28, 2017 11:54 am
by t57042
Thanks, this works:

#include "hmg.ch"
#include "KForm3.prg"
procedure main()
FV3_OpenMain('Empty Window')
FV3_Show(1)
FV3_Result()
return