Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to test if a textbox has the focus
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01145001
Message ID:
01145003
Views:
21
>How can you test if a textbox has the focus? I'm making changes in the textbox when the mouse enters and leaves the textbox, but I don't want the change to happen if the textbox has the focus, only when it doesn't.

Thisform.ActiveControl points to the control on the form that has focus.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform