If I want to set the focus on a textbox when the form is first opened, then at design time, I can set it\'s tabOrder property to 0 and make sure no other form control has a tabO
Because you want to set it when the form loads, you have to first .Show() the form before you can call the .Focus() method. The form cannot take focus in the Load event until you show the form
Private Sub RibbonForm1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Me.Show()
TextBox1.Select()
End Sub