Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textbox setfocus with hot key?
Message
From
09/10/2001 08:03:01
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
09/10/2001 06:36:51
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00565839
Message ID:
00565851
Views:
16
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform