Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bypass Validation when a Cancel button is pressed.
Message
From
10/11/1999 08:36:31
 
 
To
10/11/1999 03:18:15
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00288499
Message ID:
00289511
Views:
52
Catin, I will try to explain my problem once again.

When I press Cancel, from any input field it refreshes the form without doing any validations. To do this I trap the Lastkey() value in the valid event of input fields. The ‘Cancel’ property for Cancel button is True.

First time when I pressed Cancel the Lastkey() value becomes 27, It trap the Lastkey() value in Valid event and returns. Now when I move the control from one input field to another, it should do the validations. But it again traps the Lastkey() value and returns. Because the lastkey() value is still 27.

My problem is How to clear Lastkey() value from the memory. I have tried CLEAR TYPEAHEAD, KEYBOARD{'ins'} but it does not work properly.

Thanks
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform