Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting a form to appear upon program execution
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Divers
Thread ID:
01038890
Message ID:
01038920
Vues:
19
Rhys,

At a bare (and I mean bare) minimum, you'll want to have:
DO FORM formName
READ EVENTS
Then, in the Destroy() of your form, put:
CLEAR EVENTS
You may also want to brute force a shutdown routine, so your main.prg would be at least this:
ON SHUTDOWN QUIT

DO FORM formName
READ EVENTS

ON SHUTDOWN
Obviously, I don't recommend leaving things like this for a production app, but for a quick and dirty test app, this should be fine.

HTH,
Chad

>No Im not sure what I need in my start.prg to make the form appear
_________________________________
There are 2 types of people in the world:
    Those who need closure
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform