Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Confused about variable scoping.
Message
From
03/04/2000 23:59:55
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00354163
Message ID:
00354792
Views:
13
Yes, define them as properties of the Form.

Dave


>Hi all,
>
>I need to define variables early on in a form which are available to every procedure/event in the form, but I want to protect them from multiple instances of the form. What should I do? Do I have to define them all as properties of the form?
>
>Also when I close a form with Thisform.Release I can still see an object in the locals window. ie. name = formname, value = .NULL. and type = O. Am I doings something wrong?
>
>TIA
>Chris Sweet
Previous
Reply
Map
View

Click here to load this message in the networking platform