Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textbox setfocus with hot key?
Message
De
09/10/2001 08:03:01
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
09/10/2001 06:36:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00565839
Message ID:
00565851
Vues:
17
>Can I using hot key eg. Ctrl+f or Alt+B to let a textbox getfocus?
>I know button control have the function. But how can I do it at textbox?
>
>TIA.

One way is to trap the hot-key combination in the KeyPress of the Form. Then issue ThisForm.MyTextbox.SetFocus. Check that the textbox is enabled first as it won't receive the focus if it's not.

Renoir
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform