Nic Adams asked 2016-06-20 15:18:32 UTC
-
Create a simple, sample app with one form
-
Put two text boxes on the form.
-
Run the app.
-
Note that the textbox control with the lowest tab index will be selected when the form is displayed.
-
You can tab between the textbox controls
Modify program.cs, replace window.Show() with window.ShowDialog()
(Sample app attached)
Nic Adams asked 2016-06-20 15:18:32 UTC
Create a simple, sample app with one form
Put two text boxes on the form.
Run the app.
Note that the textbox control with the lowest tab index will be selected when the form is displayed.
You can tab between the textbox controls
Modify program.cs, replace window.Show() with window.ShowDialog()
Run the app.
Note that no control will be selected and you cannot tab until you have clicked somewhere on the window.
(Sample app attached)