Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SetFocus
Message
De
16/08/2000 10:20:42
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00405348
Message ID:
00405483
Vues:
19
>How can I know if an specific control has the focus.

type('thisform.activecontrol.name') = 'C' and thisform.anobject = thisform.activecontrol

The above should be true if 'AnObject' has focus. I'm not sure if that will work by itself or you will need to use CompObj() to compare the objects. Notice that you can't jsut compare the Name properties because of containership.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform