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.
Unfortunately, activation email could not send to your email. Please try again.

TabControlAdv ShowTabCloseButton

Thread ID:

Created:

Updated:

Platform:

Replies:

102172 Jan 5,2012 06:06 PM Jan 9,2012 08:58 AM Windows Forms 1
loading
Tags: Tools
Christine Cipriani
Asked On January 5, 2012 06:06 PM

We are developing an application that uses TabControlAdv. We want to show the close button on every tab to allow the user to close a page even if that page is not the currently active page, i.e. it does not have the focus.

An example of this functionality can be seen in Visual Studio 2010 as well as many browsers. However, we are seeing that when you hover over the close button of a non-active page, the close button does not appear to be active. Clicking on the 'x' just causes the control to switch to that page. Is there a way to close a page that is not currently the active page? If not, what is the purpose of having a close button on every page?

We are currently using Syncfusion 9.3.0.61 and running Windows XP.

Thanks in advance for your help.

Chris



Rajasekar R [Syncfusion]
Replied On January 9, 2012 08:58 AM

Hi Chris,

Thanks for your interest with Syncfusion products.

By using the following properties of the TabControlAdv we can set the close button for the Active tab.

[Code Snippets]

this.tabControlAdv1.ShowCloseButtonForActiveTabOnly = true;

this.tabControlAdv1.ShowTabCloseButton = true;

And also here I have attached the sample for your reference.

http://www.syncfusion.com/downloads/Support/DirectTrac/88951/TabControlAdv865677741.zip

Please have a look at the above sample and let us know if you have any concerns.

Regards,
Rajasekar R.


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.

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.

;