Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Visibility of variables inside a form
Message
 
 
To
13/05/2008 09:05:37
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01316626
Message ID:
01316634
Views:
13
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform