Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cancelling when in Valid Event
Message
From
13/07/1997 12:25:06
 
 
To
13/07/1997 01:11:42
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00039722
Message ID:
00039753
Views:
42
Yes, but the user clicks on a Cancel button, so the last pressed key is not Esc. :)

Vlad

>Hi!
>
>Just place in Valid Event the following:
>
>if lastkey() =27 && Esc was pressed
> return .t.
>endif
>
>Have a happy day
>Vladimir Shevchenko
>
>> I would like to cancel and exit my form by pressing a Cancel button.
>> However, if i am stuck in a Valid event, i am unable to do so until i
>enter
>> a valid item in the field concerned. How do i solve this problem ?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform