Loading external windows forms

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
l3whmg
Posts: 694
Joined: Mon Feb 23, 2009 8:46 pm
Location: Italy
Contact:

Loading external windows forms

Post by l3whmg »

Hy guys,
Is there someone that can help me to understand if, I’m feeling a wrong way to write .prg program using MiniGui external windows forms? Command like: DECLARE WINDOW, LOAD WINDOW, etc.
I don’t write English very good :oops: and I can’t describe perfectly; for this reason, I’ve included a little example to show my problems or mistakes :roll: .
Suggestions and examples are welcome :D

Thanks a lot.

Best regards.
Attachments
Example.zip
(1.72 KiB) Downloaded 225 times
Luigi from Italy
www.L3W.it
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: Loading external windows forms

Post by esgici »

Ciao Luigi

#1 problem : you need assign variable value to window title, such as :

Std_Form.Title := p002_procname

( probably ) inside of f.p002_main()

#2 problem : you need declare and assign a value to p002_procname variable, before using it; such as inside of FUNCTION p000_main()

IMHO you are assumed p002_main() module for a main module of Std.Form. However every .prg (application) has one and only one main module.

By the way, I'm visited your web page. Battle of orange and rafting ! Wow, you are living very fast !

Regards

--

Esgici
Viva INTERNATIONAL HMG :D
User avatar
l3whmg
Posts: 694
Joined: Mon Feb 23, 2009 8:46 pm
Location: Italy
Contact:

Re: Loading external windows forms

Post by l3whmg »

Merhaba Esgici,
thanks a lot... I try your suggestions.

The brother of my wife is a rafting Guide...I'm only a passenger!
About the orange battle (the event is our carnival) it's most famous in Italy; I was a...warrior for 20 years (it's still in my heart). There are eight teams (about 100/150 people) and about 25 wagons (about 10 people for everyone) pulled by 2 or 4 horses. The event is a historical commemoration of events that occurred really; people on foot are the common people and the other are the guards.
Look at these images (from one team) https://www.mercenari.it/foto_2009.asp or here https://www.mercenari.it/img_battaglia.asp and this one is the official website https://news.carnevalediivrea.it/ (there is english or italian).

Many thanks, best regards
Luigi from Italy
www.L3W.it
Post Reply