>>since I've installed vfp on a new system, the help file is no longer available. I even have developer network installed. I wanted to know how to disable the ESC key on a form.
>>Thanks!!!
>
>Set Form.KeyPreview to .T. and put code to handle nKeyCode=27 in Form.KeyPress.
I have a textbox that activates a dropdown box to display a picklist. If the user hits ESC during that time, the F1 key goes back to being 28. F1 is previously assigned to something else.
"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."