Page 1 of 1

Loading external windows forms

Posted: Thu Sep 03, 2009 9:06 pm
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.

Re: Loading external windows forms

Posted: Thu Sep 03, 2009 10:15 pm
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

Re: Loading external windows forms

Posted: Fri Sep 04, 2009 7:29 pm
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) http://www.mercenari.it/foto_2009.asp or here http://www.mercenari.it/img_battaglia.asp and this one is the official website http://news.carnevalediivrea.it/ (there is english or italian).

Many thanks, best regards