Hi guys,
I'm pretty new to visual studio and I have a problem that I can't seem to resolve.
I created a simple form that has a toolstrip at the top of the form which accepts a parameter from the user. It then uses this parameter to populate a number of text fields on the form.
My problem is that when the form loads the focus is in the first text field on the form where as I want the focus to be in the toolstrip that is requesting the user to enter data. I've tried to do this with
Private Sub frmQuoteHead_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
QuoteNoToolStripTextBox.Focus()
End Sub
But this doesn't work, what am I missing
I'm pretty new to visual studio and I have a problem that I can't seem to resolve.
I created a simple form that has a toolstrip at the top of the form which accepts a parameter from the user. It then uses this parameter to populate a number of text fields on the form.
My problem is that when the form loads the focus is in the first text field on the form where as I want the focus to be in the toolstrip that is requesting the user to enter data. I've tried to do this with
Private Sub frmQuoteHead_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
QuoteNoToolStripTextBox.Focus()
End Sub
But this doesn't work, what am I missing