i have a textbox with tab index set to 0, i want to keep the tab index the same but i dont want it to got focus when the windows form loads. how to do that?

Does textbox1.Focus(); not work in the form_load method?

let me try, if it works, i will kiss you on the forehead.

it worked :)

smartAppendOnlyTextBox1.Select(smartAppendOnlyTextBox1.Text.Length,0);

thank you so much

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.