Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Visibility of variables inside a form
Message
 
 
À
13/05/2008 09:05:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01316626
Message ID:
01316634
Vues:
14
>Hi.
>How the visibility of variables is handled inside a form?
>If a create a variable in a form event it will be visible
>by the events of the objects inside the form?
>Thanks!

The variables created in the form's methods are only visible to these methods. If you create a private variable and call some method from another method, I would guess, this variable would be visible in that method also.

However, why you can not handle variables as form's properties? You can add them on the fly using AddProperty method.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform