Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to find out which control has focus
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00314169
Message ID:
00314260
Vues:
27
Mike is quite right about ActiveControl. One further point, however: If you are on a grid the ActiveControl.name will give you the grid name, not the textbox or column name.

Barbara

>I have set my form's keypreview property to .T. and from within the keypress event of the form I am trying to figure out how to tell which control has focus when a key is pressed.
>
>How can I do this?
>
>Thanks,
>Paul
Barbara Paltiel, Paltiel Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform