I am using TabbedMDIManager in my application. I would like to select a tab through programatically. Here is the code for choosing a tab programatically.
TabHost ths =
foreach(TabHost th in ths)
MDITabPanel mdiPanel = th.MDITabPanel;
IEnumerator pageEnum =
TabPageExt page = pageEnum.Current as
if(page.Text == "Some Text")
mdiPanel.SelectedTab = page;
If i set a different page in MDIPanel SelectedTab, only the tab header is selected and the controls which are residing in the tab are not shown. Can you tell me, how can i overcome the problem.
ADAdministrator Syncfusion Team March 9, 2004 06:06 AM
Thanks for the code snippet. You could simply select any TabbedMDI child by using code like :
If you wish to select a particular page from a list of tabbedMDI children, then you could code as follows :
foreach(Form fm in tabbedMDIManager.MdiChildren)
if (fm.Text == "some text")
I have also attached a sample here which illustrates the same. Please refer to it and let me know if this meets your requirements. Thanks for choosing Syncfusion products.
SUSureshManiMarch 9, 2004 09:01 PM
Thanks for your reply and sample code. It is working perfectly. Thanks once again.
ADAdministrator Syncfusion Team March 10, 2004 06:21 AM
Thanks for the update. We appreciate your continued interest in Syncfusion products.