General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only