>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