Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining which control has focus
Message
 
To
25/07/1998 11:32:41
Ernie Veniegas
Micro System Solutions, Inc.
Calistoga, California, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00121349
Message ID:
00121350
Views:
15
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform