simple textbox question

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

If I have an application which has 1 form and that form
has 1 textbox. How can I make the cursor appear in the
textbox when the form loads? So a user can just start
typing and doesn't have to click on the textbox first.
Thanks for the reply.

Mike
 
I tried doing that but if I have a button on my form,
then that button gets focus even if the textbox has a
TabIndex of 0 and the button has a TabIndex of 1.
 
Back
Top