Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hiding the session window in my .exe
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00559259
Message ID:
00559262
Views:
15
This message has been marked as a message which has helped to the initial question of the thread.
>I want to create an .exe which shows only one form - nothing else - and shuts down when that form is closed.
>
>Q: What code do I need in my main .prg file?
>
>Thanks

In your config.fpw, SCREEN=OFF

Your form needs to have the ShowWindow property set to 2 (Top-Level).

After you issue the command to display it, READ EVENTS.

You'll need an ON SHUTDOWN routine to clean up, and when the form's released, CLEAR EVENTS.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform