0

Good day,

I must be blind .. I am developing my first "Visual Studio" desktop application. My apps are normally always Internet Apps.

I have about 20 text boxes, but I want to give the user the ability of pressing Enter, and "defaulting" to the Enter button on the screen.

I cannot figure out how to do this .. I have the KeyDown event working for one text box, but it makes no sense to copy this to every object.

Thank you very much,
Mark

2
Contributors
2
Replies
10
Views
3 Years
Discussion Span
Last Post by 2lethal
1

go to your form properties go to misc and set keypreview to true and set your acceptbutton

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.