Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Validation problem
Message
From
28/05/2001 11:44:21
 
 
To
28/05/2001 11:36:47
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00511930
Message ID:
00511933
Views:
16
Hi!

You can use MROW() and MCOL() functions to get the current mouse pointer, than using ObjToClient function check if mouse is over that button. When button pressed by keyboard, focus is already out of that control. Well, if button pressed by shortcut key - here might be an additional problem, you require than to catch that key by ON KEY LABEL command (Alt+* is not catched by the KeyPress event).


HTH.

>Hi everyone
>
>I have a problem whit validation.
>
>I'm in my LostFocus validaton procedure from a class and i want to find a way to bypass the validation in certain case
>
>ex:
>LostFocus :
>
>IF !( X button pressed )
> DODEFAULT()
>ENDIF
>
>
>
>In other word i want to know if i there is a way to know if a certain button is pressed
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform