Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can not press ESC when the field valid is .f.
Message
From
16/06/1998 17:27:31
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00107833
Message ID:
00108861
Views:
36
>>I don't believe that the valid event will fire by pressing the escape key. If Tan wants to release the form then I would put code in the keypress event of the validated textbox.
>>
>>If nKeyCode=27
>>   thisform.release
>>endif
>>
>
>In VFP 5.0a (and I believe in other versions) the valid event does fire whenever the cursor is in the field. If you wish to leave a form without the valid() code running when you press Escape you will have to bypass the valid() code somehow.

This isn't much of a compatibility, eh? In all the previous versions of Fox(Pro), Escape key was a legitimate way to exit from a Read without firing anything at all. Now we have to code around it.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform