Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to access PageFrames/Pages
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
How to access PageFrames/Pages
Miscellaneous
Thread ID:
00250615
Message ID:
00250615
Views:
53
I have code in the Activate event of my pages, but am now finding that I want this in EVERY page. (Code just does a refresh and sets focus etc)

My next idea was to set upa Method, in my Base Form class, and then just put in a command to run this method from the Page .activate event. I tried the following, which does not work:

thisform.MyPageActivate(this)

..MyPageActivate is the methid I have setup in my Base form
..this is the parameter I am trying to pass which I think should be the current page, but I am sure this syntax is incorrect.. I want to pass the current page in my current PageFrame in my current Form to my Form method --> (MyPageActivate)

regards,

Gerard
Next
Reply
Map
View

Click here to load this message in the networking platform