Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Do nesting exceded
Message
De
17/07/2000 01:32:57
 
 
À
15/07/2000 18:29:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00392852
Message ID:
00393105
Vues:
17
>Thanks Ed,
>
>This may sound dumb, but what is the best way to close, end or release thisform.
>I sounds like I close one form, then give a new "Do Form" command. Am I correct ?
>And can you give me a sample of a close to a form, and the opening of another form ?
>
>John

John, if you use the command

DO FORM myformname NAME myfornname linked

VFP creates a variable in memory named "myformname" at the same time you start the form.
When the user leaves the form you simply need to put the command

RELEASE myformname

and the form is released. The RELEASE statement can be in an exit button, or in the destroy method
or even in the lostfocus method, though that will close the form if the user alt+tabs to another application.

hope this helps.

David
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform