Setting a control focus when form is loaded
C#
5
Posts
4
Posters
0
Views
1
Watching
-
I would like to set the focus of a text box with the blinking cursor after the form is loaded. Where in the construction do I accomplish this functionality?
-
I would like to set the focus of a text box with the blinking cursor after the form is loaded. Where in the construction do I accomplish this functionality?
Hi, You can use the tabindex property. Set the tabindex property of that control to 0. Thanks and Regards SGS
-
I would like to set the focus of a text box with the blinking cursor after the form is loaded. Where in the construction do I accomplish this functionality?
select the text box you want to get focus, in designer go to its properties, set "TabIndex" property to 0 and Its done :)