WinForms Dummy Question
This has got to be one of the dumbest posts I've done but for the life of me and my co-horts we can't figure it out.
We have a TextBox sitting on a UserControl sitting on a Panel sitting in a Form.
$10 to the first person to tell me how to set the focus to the TextBox.
We've tried:
-
txtBox.Focus();
-
ActiveControl = txtBox;
-
txtBox.Select();
Nothing works. WTF? This has *got* to be a simple thing right?