>How do i clear the keyboard Buffer.
>the following commands do not function :
> Clear TYPEAHEAD
> Keyboard '{27}' Clear && 27 - Esc key
>
>Please help.Want to erase 27 from buffer.....
You don't state your situation or reason for this, but can't you just test in the KeyPress event for Esc and take appropriate action, such as NODEFAULT?
IF nKeyCode = 27
NODEFAULT
ENDIF
Or in some other scenario could you test for LASTKEY() and take action?
IF LASTKEY() = 27
ENDIF
Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.