Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Thisform.INIT variable scoping
Message
De
02/05/2007 13:23:57
 
 
À
02/05/2007 13:12:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01221866
Message ID:
01221880
Vues:
14
>Nope. Put it in the load of the form, but better, create a form property and use it instead.
>
Maybe I'm misunderstanding.

Are you saying that a variable created in the Load is in scope for the rest of the form?? I didn't think that was the case -- iow....creating the form property is the only way to create a "variable" scoped to the form.

>
>>Been out of work or working so much in old FPW that I have forgotten this. I set a variable in the INIT of a form and it is then out of scope when the INIT is exited. I thought if I set it in the INIT it would remain in scope for all of the form's members. Thanks!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform