Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Variable scope
Message
From
17/08/1999 13:52:39
 
 
To
17/08/1999 13:27:56
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00254565
Message ID:
00254598
Views:
19
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform