Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to test if a textbox has the focus
Message
De
11/08/2006 20:43:14
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01145001
Message ID:
01145002
Vues:
25
>How can you test if a textbox has the focus? I'm making changes in the textbox when the mouse enters and leaves the textbox, but I don't want the change to happen if the textbox has the focus, only when it doesn't.

You can check what is active control through Form.ActiveControl property and then use it to see if it's active then it has focus.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform