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.