Question : Windows forms - behavior when pushing enter key in text boxes.

new to vb.net

I have text boxes on a windows form. I can tab through them but would like to hit enter to accept text entered and move to the next box - at present just beeps and stays in field when I hit enter. I have not got multi line on.

Cannot see a property that changes this?.

Answer : Windows forms - behavior when pushing enter key in text boxes.

That's is correct. TAB is the default focus key, but you can override that if you want using either of the methods shown. Of course the suggestion is to add ENTER as an additional method of moving fields rather than replacing the TAB method.

Most Windows users are going to be used to using TAB to move between fields so you don't want to remove this functionality.
Random Solutions  
 
programming4us programming4us