Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pages and init methods...
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00148413
Message ID:
00148458
Views:
17
>What is the sequence of events with forms that contain pageframes? I'm trying to activate certain pages by calling methods of the page in the Init of the form. But page1.page1... always winds up being the active page by the time the form is shown. Is there a form level method I can use to insure the correct page is active or do I have to use a method in the page frames? I would prefer to get it done in myform.init.

I've studied this a little: here is the sequence when a form runs:

page1 init
page2 init, etc.
pageframe init
form init
page1 activate ** note this is important
form activate

If you want to wind up with page2 active then a place to do this is the form activate, from the above sequence...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform