We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TabbedMDI

Thread ID:

Created:

Updated:

Platform:

Replies:

51448 Nov 6,2006 02:13 PM UTC Nov 7,2006 12:05 AM UTC WinForms 3
loading
Tags: Tools
Doug Finke
Asked On November 6, 2006 02:13 PM UTC

I need to as much screen real estate as possible. Maximum columns and rows on the screen.

I want to turn off tabs completely and allow the user to navigate from menus.

Is there a way to turn off display of the tabs?

Thank you.

Gopalakrishnan S [Syncfusion]
Replied On November 6, 2006 03:47 PM UTC

Hi Doug,

You can use MdiWindowListItem property of Menustrip for navigate the MdiForm and hide the tabs in TabbedMdi using Hide() or Visible property of MdiTabPanel in TabHost.

Here is the code snippet:

private void Form1_Load(object sender, EventArgs e)
{
this.menuStrip1.MdiWindowListItem = windowToolStripMenuItem; // Sets the MdiForm list to the Menu item

TabHost[] tabhost=tabbedMdiManager1.TabGroupHosts;

if (tabhost != null)
{
tabhost[0].MDITabPanel.Hide();
// tabhost[0].MDITabPanel.Visible = false;
}
}


Let me know if this works.

Regards,
S.Gopal.

Doug Finke
Replied On November 6, 2006 09:13 PM UTC

It almost works. It does hide the tab. The space where the tab was is still there though. I need to get that back.

When I resize the the Form, the tab is redrawn.

Gopalakrishnan S [Syncfusion]
Replied On November 7, 2006 12:05 AM UTC

Hi Doug,

You can use another approach for hiding the tabs to setting the visible property of TabbedMdiManager to false.

ex:

this.tabbedMdiManager.Visible=false;

Thank you for using Syncfusion Products.

Regards,
S.Gopal.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;