Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pressing K_ESC fired the VALID?
Message
De
22/10/1998 02:11:47
Man Wai Chang
Hang Hing Metal Manufacturer
Hung Hom, Hong Kong
 
 
À
22/10/1998 00:30:21
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00149211
Message ID:
00149254
Vues:
25
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform