Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hiding the session window in my .exe
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00559259
Message ID:
00559268
Vues:
16
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?


Start with having SCREEN=OFF in the config.fpw file.

Then in your main .prg file have code such as:
do form < form name >
read events
And issue a clear events when closing the form.

Also make sure the form property ShowWindow is set as 2 - As Top-Level Form

HTH,
- Erik Niese-Petersen

Crazy Dane in USA.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform