Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Very basic form problem
Message
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00840010
Message ID:
00840029
Views:
23
Lisa,

>You are probably confused because when you have done DO FORM in the past (rather than a class) the variable reference is automatically declared PUBLIC.

A public memvar is only created when DO FORM xyz is executed from the command window. Running a second simultaneous instance from the command window does not create a memvar.

DO FORM xyz from a button click creates no public memvars, the builtin _screen.Forms[] collection or ActiveForm properties are the only way to obtain a reference to the form instance.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform