Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Clear Lastkey()?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00049514
Message ID:
00049517
Views:
57
>Is there a way to programmatically clear or change the value in LASTKEY? I'm trying to do this using KEYBOARD, but I'm on a ReadOnly grid and every parameter I enter (KEYBOARD etc.) causes a beep and readonly message. CLEAR TYPEAHEAD clears the buffer , but not the LASTKEY value...any ideas?

I guess you could create custom property nLastkey, set it in Form.KeyPress event (This.nLastkey=nKeycode) and use it and reset to 0 whenever you want.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform