Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why do I alway have to use thisform.blah.blah
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00386379
Message ID:
00386563
Vues:
15
Nigel,

>If you're using Do Form, use Do Form (formname) Name (variable) Linked - this will then enable you to use your name variable instead of thisform. Linked will ensure the form referenced gets dumped when the variable goes out of scope.

Inside a form where you'd have to use thisform, it's wrong to use a hard coded reference to the name of a memvar that hold the object reference to the form. You prevent the form from running more than once, and it will fail if the NAME clause happens to use something different.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform