Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding Controls
Message
From
13/11/1996 13:02:30
 
 
To
13/11/1996 12:00:54
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00012155
Message ID:
00012157
Views:
32
>I have saved all of the controls on a page of a PageFrame as a class which I instantiate via the page's Activate method. All works well, except: how do I access these controls to, for example, enable/disable them? THISFORM.PageFrame1.Page3.txtName no longer works (no surprise--the controls are now part of a class). What is the correct syntax to get to these things? As of now, I am out of control(s) . . . .
>
>TIA

When you add container object based on custom class you can specify the name of this object and then use this name for references:
THISFORM.PageFrame1.Page3.YourObject.txtName
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform