Kirk,
Perhaps you have some ON KEY LABEL commands that are causing interference. On focus() of textbox, try to PUSH KEY CLEAR, and on lostfocus() do a POP KEY to restore the OKL's. Also, you need to either lose the DODEFAULT(), or add a NODEFAULT.
>I have the following code in a text box keypress event:
>
>
LPARAMETERS nKeyCode, nShiftAltCtrl
>IF BETWEEN(nkeyCode,-9,-1) OR BETWEEN(nKeyCode,133,134)
this.Value=ctSetProcTime(nKeyCode,this.value)
nodefault
endif
>
>but when I press any of the F2 key, it never fires the rest seem to work.
>Thanks
>Kirk
Steve Gibson