Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can you bypass the valid event??
Message
From
27/03/1999 01:02:19
 
 
To
26/03/1999 22:30:15
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00202273
Message ID:
00202684
Views:
26
Hi Sylvain ----

I'd have to test that to be sure but that would fall into the realm of "unanticipated behaviour". If MDOWN() fires on release of the button, you are correct.

>>
>>I have a paper in the KB here about this exact problem. In general, you can use the MDOWN(),MROW(), and MCOL() functions to trap the region where the mouse is being clicked within the Valid and return .T. if it maps out to the Cancel button. Check out the paper, it goes into precise coding.
>
>But then, a user could press (and hold) the mouse on the cancel button, move off the button and release the mouse. This way, the valid didn't fire and the cancel button wasn't pressed either.
>
>Am I wrong on this one?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform