J
Jenny R.
Hi,
I have a win form wich is composed of multiple panels (all
visible). In one of the panel, I have a UserControl that I
have made.
When the form gets loaded, I want to have the focus in a
Textbox inside the UserControl (which is inside a panel).
I used:
MyForm.MyUserControl.myTxtBox.Focus()
but it doesn't work: the boolean value returned by this
function is false!
Any idea of what I need to do?
thanks,
Jenny
I have a win form wich is composed of multiple panels (all
visible). In one of the panel, I have a UserControl that I
have made.
When the form gets loaded, I want to have the focus in a
Textbox inside the UserControl (which is inside a panel).
I used:
MyForm.MyUserControl.myTxtBox.Focus()
but it doesn't work: the boolean value returned by this
function is false!
Any idea of what I need to do?
thanks,
Jenny