Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Page Frame Display
Message
 
À
22/07/2008 16:40:35
Robert Dinsmore
Dinsmore & Associates, Inc.
Lexington, Kentucky, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01333293
Message ID:
01333388
Vues:
14
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform