Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a sort of *LASTKEY()* for the mouse ?
Message
From
15/08/2000 10:47:50
 
 
To
15/08/2000 07:40:04
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00404395
Message ID:
00404962
Views:
10
>>That makes sense since it is what I am trying to do: There is a textbox with an associated lookup button. If entry is invalid but lookup button was just clicked, the valid should release and let it happen. The lookup button is responsible for what happens next.
>
>Well, I doubt you need to worry about the programmatic change in focus, so, use MDown() and Sys(1270) to see if the LookUpButton was selected. If MDown() is .F. test lastkey(), if it was TAB, you should skip validation cause you can assume you're going to the lookup button. Remember, to validate the textboxes value when you leave the button then, but only if you're not going back to the textbox.

Thanks
Previous
Reply
Map
View

Click here to load this message in the networking platform