Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pressing K_ESC fired the VALID?
Message
From
23/10/1998 02:28:25
Man Wai Chang
Hang Hing Metal Manufacturer
Hung Hom, Hong Kong
 
 
To
22/10/1998 21:13:31
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00149211
Message ID:
00149730
Views:
20
>In the Valid, put:
>IF LASTKEY() = 27
> * Escape pressed
> RETURN .T.
>ELSE
> * Validate the data
>ENDIF

I found my mistake. I shouldn't use "\?"
in the cancel button. "\?" will fire the valid()
even if you press ESC, twisting the normal response
of a READ to an ESC. SHouldn't copy examples blindly....
Regards,
Mr. Man-wai Chang
Previous
Reply
Map
View

Click here to load this message in the networking platform