Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to check the control is in focus ?
Message
 
À
14/09/2013 00:04:50
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01583249
Message ID:
01583250
Vues:
51
>Hi,
>I have a Pageframe1 with 3 Page,
>how can I check the Pageframe1.Page3 is in focus.
>
>Please advise.
>
>Thanks.
>Derek Yim

This property will tell you which page is active...

MyPageFrame.ActivePage

..and this method runs when the page has become active...

myPageFrame.mpage1.active()

...I've had to deal with the same problem, no GotFocus for the pages inside a pageframe. I've always manged to work around it by using a combination of these two things.
ICQ 10556 (ya), 254117
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform