Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Thisform.INIT variable scoping
Message
From
02/05/2007 13:18:56
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
02/05/2007 13:12:07
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01221866
Message ID:
01221875
Views:
19
Thought of that, but in the Load the member's have not been created yet, right? I need to reference a value on one of the form's objects. I want to do it in the best place that it will only be set one time when the form is run.

>Nope. Put it in the load of the form, but better, create a form property and use it instead.
>
>
>>Been out of work or working so much in old FPW that I have forgotten this. I set a variable in the INIT of a form and it is then out of scope when the INIT is exited. I thought if I set it in the INIT it would remain in scope for all of the form's members. Thanks!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform