Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Variable scope
Message
De
17/08/1999 13:52:39
 
 
À
17/08/1999 13:27:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00254565
Message ID:
00254598
Vues:
20
Hi David,

>In Visual Fox how do you reference variables from one method to another? Example: When calling a form I pass a few variables to it using the parameters statement in the init of the form. How would I make those parameters available to other methods and controls in that form? By default they seemed to be local.

The OO thing is to create properties for the form (form menu>new property) and store the variable value there. THen every method in every object can do Thisform.Variable1 or whatever you call it.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform