Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to reference another forms objects???
Message
From
08/01/2001 21:08:59
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00460831
Message ID:
00460952
Views:
9
>If I opened form2 from form1 shouldn't I be able to refer to form2 properties by saying form2.property??

The way it works is the same way a variable works. DO FORM form2 creates a variable called Form2 to reference the actual form with. That variable can go out of scope like any other variable, so if you didn't define it before hand, its most likely private and went away with the method that called it. You can use the NAME clause to specify where the form reference will be saved (a property or variable, ect.).
Previous
Reply
Map
View

Click here to load this message in the networking platform