Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Page Frame Display
Message
 
To
22/07/2008 16:40:35
Robert Dinsmore
Dinsmore & Associates, Inc.
Lexington, Kentucky, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01333293
Message ID:
01333388
Views:
13
Hi Robert,

> Any ideas as to how to make the proper page display the first time?

Sounds like the focus is still on the first page. One way would be to have some control that receives the focus before the inner pageframe. If that isn't possible, check if the current control is on the first page:

Left(Sys(1272,Thisform.ActiveControl),len(SYS(1272,page1) )) == SYS(1272,page1)

and if so, set the focus to a control on the second page before making the second page active. If the second page of the outer only becomes active when the user clicks on the tab, you can skip the check for the focus and always set the focus to the active page in the Activate event.
--
Christof
Previous
Reply
Map
View

Click here to load this message in the networking platform