Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Valid Event..
Message
From
02/09/1999 12:19:34
 
 
To
02/09/1999 12:14:09
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00260658
Message ID:
00260660
Views:
15
>I have a valid event that contains the following command:
>
>IF LASTKEY() = 27
> RETURN .T.
>ENDIF
>
>but whenever I press a Cancel button, the valid event still goes through and I cannot cancel without entering something...
>
>TIA
>
>Jeff T.

Set the Cancel property of the button to True. Then when you press the Cancel button LASTKEY() will return 27.

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform