Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Thisform.INIT variable scoping
Message
From
02/05/2007 13:12:37
 
 
To
02/05/2007 13:11:14
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01221866
Message ID:
01221871
Views:
12
Nope..because Init doesn't call other methods unless you specifically code them that way. Add a custom property to the form and save the value there.

>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!
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform