Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form closes when ESC is pressed - How to disable this?

Status
Not open for further replies.

Shiner83

Programmer
Joined
Jul 7, 2004
Messages
9
Location
CA
Should be an easy one, but for whatever reason I have a form that always close when the ESC key is pressed. It is weird since all of my other forms don't have this problem, and I've compared the structure of these and I haven't found anything that could cause it. I would prefer that pressing the ESC key cancel the current modificaton on a textbox, like it should be doing by default.

Any help on that one?
 
have you had a look at the code of the form? Also check if you have a sendkeys macro in your db..?

------------------------
Hit any User to continue
 
And if you have a button or two closing the form, check it's/their cancel property - set it to No.

Roy-Vidar
 
That's it RoyVidar that was exactly my problem! :)

I knew it was something simple, but I just couldn't get it! Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top