>I have a form with KeyPreview = .T. and with a KeyPress event method that processes Ctrl+Key keystrokes. Most Ctrl+Key sequences work as expected, but when I use Ctrl+N I get a strange anomoly.
>
>In my KeyPress event method Ctrl+N should create a new record in my current work area and refresh all controls (which it does fine). But, if I have a textbox as the first control on the form, the character CHR(14) is inserted in the textbox value (appears as vertical bar). I can trap this condition by checking for LASTKEY() = 14 in the interactive change event of the textbox, then clearing the textbox value. No other control sequence does this (that I know of).
>
>CLEAR TYPEAHEAD or KEYBOARD "" CLEAR have no effect either.
>
>Does anyone know why this happens and how I can avoid it?
>
>Thanks,
>Tod
Nodefault
Cetin