General information
Category:
Coding, syntax & commands
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only