Focus on Child Form
-
Hi I have written an application in which on left side there are oulook style menu.When i click anyone from that menu a new child form open in panel control of parent form. My problem is that this child form is not getting focus .i HAVE ALSO TRIED .FOCUS AND .SELECT methods. if i donot add this child form in panel control then form gets focus but on maximizing child form it also covers the area of left created menus. So how i can get focus on child form in panel control ? or how i restrict child form not extend from specified left position on maximization. I am using Visual Studio 2005 c# windows form
-
Hi I have written an application in which on left side there are oulook style menu.When i click anyone from that menu a new child form open in panel control of parent form. My problem is that this child form is not getting focus .i HAVE ALSO TRIED .FOCUS AND .SELECT methods. if i donot add this child form in panel control then form gets focus but on maximizing child form it also covers the area of left created menus. So how i can get focus on child form in panel control ? or how i restrict child form not extend from specified left position on maximization. I am using Visual Studio 2005 c# windows form
myChildForm.Activate();
Geniality is in simplicity.
-
myChildForm.Activate();
Geniality is in simplicity.
Yes i tried this one also but child form not getting focus in panel
-
myChildForm.Activate();
Geniality is in simplicity.
Also note that if there is text box on child form and in this scnerio if you click text box you can type text in it but cannot select the text in textbox by simply mouse selection(draging mouse).