Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding Controls
Message
From
14/11/1996 08:24:00
 
 
To
13/11/1996 12:00:54
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00012155
Message ID:
00012224
Views:
33
>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
Before you have
ThisForm.PageFrame1.Page3.txtName
Now you save controls of page 3 to class ans VFP put them in a container that we name Pg3 for this example

you have now
ThisForm.PageFrame1.Page3.Pg3.txtName
Previous
Reply
Map
View

Click here to load this message in the networking platform