Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I create a simple executable of a Form
Message
From
13/02/2002 11:40:16
Regine Rosewich
Aurum Ges.F.Untern.Ber.U.Integration Mbh
Freiamt, Germany
 
 
To
13/02/2002 11:16:37
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00619520
Message ID:
00619549
Views:
14
>Hi all,
> I would like to create an executable of a simple project containing only one form in vfp6 sp5. When i do so, the form opens and close automaticaly when i run the executable. When I add a code module containing
>
>DO FORM myForm
>READ EVENTS
>
>and I set it to main, it works but it is kind of ugly. I would like to know if there is a way to do it without having to add a code module (if yes, how)(if not, how to set the program to run in maximized mode.)
>
>Thank you all

You can control the appearance of a VFP-Form with the following command line
"_SCREEN.WindowState = n" Where n is 0 if the window should appear normal, 1 if it should be minimized, and 2 if it should be maximized.

If this command is used as the first statement in the Activate Event of a form, the form comes up as indicated above

Bye
********************************
VFP, VB, VC++ Programmers
Makers of the ==>TheMiL<== engine
for intra- and internet data processing
********************************
Previous
Reply
Map
View

Click here to load this message in the networking platform