Form Closing on tab

gsandy

Registered User.
Local time
Today, 19:45
Joined
May 4, 2014
Messages
104
I have a form with numerous textboxes, when using the enter key to tab to the next textbox the form closes. If I click in the next textbox it stays open. The tab order is correct. How do I solve this form closing problem? Thanks Sandy
 
One button on a form can be defined as the Default, and if such a button is defined, then when you hit <Enter> it presses that button. You need to find that button. Then, look for a property called "Default" on the "Other" tab of the button's property sheet and set it it "No".

This will suppress the <Enter> key behavior that you have described.

Cheers,
 
Hi MarkK, sorry for the delay in getting back to you. I found the offending Command Button and all is now well. Thanks Sandy
 

Users who are viewing this thread

Back
Top Bottom