hi,
I added a form as a control on another form. After adding i want the
embedded form to have focus. I tried all combinations but its not
working..
Do any one know how to do this.
-------------------------------------------
i embedded the form like this
-------------------------------------------
Form2 f = new Form2
f.TopLevel = false;
f.Parent = this;
f.Show();
f.BringToFront();
-------------------------------------------
--------------------------------------------------------
I tried all these things but its not working still
--------------------------------------------------------
1. f.Activate();
2. f.Focus();
3. this.ActiveControl = f;
4. google.Search("embedded form focus problem");
----------------------------------------------------------
thank u