>>>>>>[snip] how to disable the ESC key on a form.
>>>>>>Thanks!!!
>>>>>
>>Yes, in the keypress section I have "ON KEY LABEL F1 do form save"
>>But the F1 reverts back to being 28 if the user hits ESC while in that certain textbox. Then hitting F1 puts a literal '28' in all the textboxes!
>>then there's no way to properly exit the form
>
>I just realized, maybe all the answer you want here is:
>SET ESCAPE OFF
>
>(maybe in the Textbox's GotFocus event, coupled with SET ESCAPE ON or SET ESCAPE &SavedValue in the Textbox's LostFocus event).
It's odd. Escape is set to off. In the txtbox gotfocus, I put "ON ESCAPE do form save" and this had no effect, Hitting ESC still causes cursor to jump to 1st txtbox on the form & literal 28 still shows when F1 key is hit.
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."