Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Control Exit Via Mouse
Message
From
13/10/1997 12:24:45
 
 
To
13/10/1997 09:13:50
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00054285
Message ID:
00054317
Views:
29
Put this in GotFocus or When events:

KEYBOARD chr(255)
CLEAR TYPEAHEAD

This clears any previous key and sets the LASTKEY() to 255. This is necessary in order to delete any previous TAB, ENTER, etc, LASTKEY(). In the Valid event check for LASTKEY() and if it's different than TAB, ENTER, etc, then it was exited using the mouse.

Vlad

>I need a way to know whether the user exited a control via a mouse click (rather than a TAB, ENTER, SHIFT--TAB). Any ideas out there about how I can determine that?
>
>TIA.
>
>John
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform