G
Guest
Upon the load of my form, I would like the cursor to be in a textbox within a
toolstrip. Does anyone know if this is possibe? I've tried putting the
following code in both the Form_Activate and Form_Load events:
ToolStripTextBox1.Focus()
ToolStripTextBox1.Select()
ToolStripTextBox1.SelactAll()
None of these cause an error, but none of them work. Any ideas appreciated.
toolstrip. Does anyone know if this is possibe? I've tried putting the
following code in both the Form_Activate and Form_Load events:
ToolStripTextBox1.Focus()
ToolStripTextBox1.Select()
ToolStripTextBox1.SelactAll()
None of these cause an error, but none of them work. Any ideas appreciated.