Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How did the object got focus?
Message
From
07/10/1997 17:18:16
 
 
To
07/10/1997 05:58:02
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00053481
Message ID:
00053602
Views:
21
>>Is there a way to know how did an object got focus?, in other words, If the object got focus by beeing tabbed in or by a mouse click?
>
>Hi, Jorge
>
>If you check on READKEY() in your GotFocus event. You can also combine READKEY() and LASTKEY().

Jorge- you could create a custom propoery for the textbox... something like 'wasclicked' and in the click event set it to .T., and in the lost focus, set it to .F. again. Then just check wasclicked in the gotfocus event to see if it was clicked or not. HTH
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform