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:
00559262
Vues:
14
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform