Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining which control has focus
Message
 
À
25/07/1998 11:32:41
Ernie Veniegas
Micro System Solutions, Inc.
Calistoga, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00121349
Message ID:
00121350
Vues:
14
Try THISFORM.ActiveControl.

>Is there a way to determine which control has focus on a form? I have a situation where I DON'T want the KeyPress method of the form to fire IF they're on a certain group of textbox controls.
>
>If I'm going about this the wrong way -- i.e., evaluating key strokes and conditionally executing code when focus is NOT the textboxs in question, I would appreciate your advice.
>
>Please and thanks.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform