J
Jose Rodriguez
Hi, I have the following situation. I have a main form with two panels
divided by a splitter. The first panel has some links that when clicked, add
forms into the second panel. I am trying to set focus in the first textbox
in those forms. I have tried Textbox1.focus on the form_activated event, I
have tried setting the focus immediately after the InitializeComponent
statement to no avail. When the form is loaded, I have added
Form1.Activate(), again no solution, The form that is always active is the
main form, not the loaded form inside the panel, even though I am inputting
text etc. Has anybody run into this problem? any suggestions/hacks? any help
is appreciated. thanks
Jose
divided by a splitter. The first panel has some links that when clicked, add
forms into the second panel. I am trying to set focus in the first textbox
in those forms. I have tried Textbox1.focus on the form_activated event, I
have tried setting the focus immediately after the InitializeComponent
statement to no avail. When the form is loaded, I have added
Form1.Activate(), again no solution, The form that is always active is the
main form, not the loaded form inside the panel, even though I am inputting
text etc. Has anybody run into this problem? any suggestions/hacks? any help
is appreciated. thanks
Jose