Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pressing K_ESC fired the VALID?
Message
From
22/10/1998 02:11:47
Man Wai Chang
Hang Hing Metal Manufacturer
Hung Hom, Hong Kong
 
 
To
22/10/1998 00:30:21
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00149211
Message ID:
00149254
Views:
24
NOTE: I was/am talking about FOxPro 2.6

>>The VALID functions were fired even if I pressed K_ESC
>>(during a READ CYCLE).
>> * main()
>> m.xx = 0
>> @05,05 get m.xx valid v_xx()
>> read cycle
>> return
>>
>> function v_xx
>> wait window "haha"
>> return .t.
>My experience is that pressing Esc always fires the
>valid clause, because I've had to put
>So I don't see it as an anomaly.

No way. Pressing ESC should only terminate the READ
without firing the VALIDs. Try that little program and
you will see. But the codes generated by GENSCREEN
behave differently: pressing ESC will always fire
the VALIDs. That's why I called it an abnormaly.

I am trying to avoid adding extra codes to those VALIDs
just to handle ESC if there is a better solution. Could
it be a problem of the default GENSCREEN? Or was there
a SET causing the bahaviour?
Regards,
Mr. Man-wai Chang
Previous
Reply
Map
View

Click here to load this message in the networking platform