Dynamic Controls - a good idea

You can share your experience with HMG. Share with some screenshots/project details so that others will also be benefited.

Moderator: Rathinagiri

User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: Dynamic Controls - a good idea

Post by bpd2000 »

Fantastic
Thanks for sharing, Brunello !!
BPD
Convert Dream into Reality through HMG
t57042
Posts: 148
Joined: Tue Mar 16, 2010 9:46 am
Location: belgium

Re: Dynamic Controls - a good idea

Post 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() 
brunellopulix
Posts: 73
Joined: Sat Apr 24, 2010 10:17 am

Re: Dynamic Controls - a good idea

Post 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()
t57042
Posts: 148
Joined: Tue Mar 16, 2010 9:46 am
Location: belgium

Re: Dynamic Controls - a good idea

Post by t57042 »

same result: compiles without error, but does't show anything.
I use hmg 3.4.3

Richard
brunellopulix
Posts: 73
Joined: Sat Apr 24, 2010 10:17 am

Re: Dynamic Controls - a good idea

Post by brunellopulix »

sorry I missed that:

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

You will add kform3.prg in your .hbp

Brunello
t57042
Posts: 148
Joined: Tue Mar 16, 2010 9:46 am
Location: belgium

Re: Dynamic Controls - a good idea

Post by t57042 »

I dont use . hbp
brunellopulix
Posts: 73
Joined: Sat Apr 24, 2010 10:17 am

Re: Dynamic Controls - a good idea

Post by brunellopulix »

build your.prg kform3.prg
t57042
Posts: 148
Joined: Tue Mar 16, 2010 9:46 am
Location: belgium

Re: Dynamic Controls - a good idea

Post 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?
brunellopulix
Posts: 73
Joined: Sat Apr 24, 2010 10:17 am

Re: Dynamic Controls - a good idea

Post by brunellopulix »

No Ide
Build.Bat in HMG foder
Attachments
Immagine.JPG
Immagine.JPG (71.53 KiB) Viewed 5329 times
t57042
Posts: 148
Joined: Tue Mar 16, 2010 9:46 am
Location: belgium

Re: Dynamic Controls - a good idea

Post by t57042 »

Thanks, this works:

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