LPARAMETERS nKeyCode, nShiftAltCtrl * Check if F12 was pressed IF nKeyCode = 134 This.Value = This.Value + "MyName " + Ttoc(Datetime()) * Don't let VFP editbox to process F12 * You don't really need this because pressing f12 has no effect on editbox NODEFAULT ENDIF>Hi All,