Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lostfocus by mouse or keyboard ?
Message
From
22/03/2000 01:22:06
 
 
To
21/03/2000 02:12:16
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00348214
Message ID:
00348739
Views:
22
>Is it possible to evaluate, if a textfield/optiongoup... has lost the focus by mouse or by keyboard ?

You can do:
if mdown()
	*Lost focus by Mouse
else
	*Lost focus by Keyboard
endif
in the Lost focus, but this will alwyas return Keyboard if you click outside of the form, otherwise its accurate. To be sure, I would suggest doing this in the GotFocus() if possible, then it would always be right on.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform