Close button in TabControlAdv

Is there a way I can add a close button to the tab if I''m using a TabControlAdv? Thanks.

7 Replies

AD Administrator Syncfusion Team June 12, 2006 07:23 AM UTC

Hi Stephen, Currently we dont have this feature in TabControlAdv. We have open Feature request logged #501 for adding close button for Tabs. Here is the link: Feature Request #501 - Close button for TabControlAdv However, you can handle the DrawItem event and draw close button on the tabs. I have attached a sample for reference: TabControlAdv.zip We will try our very best to implement this feature at the earliest and keep you informed. Please let me know if you have any questions. Thanks for your interest with Syncfusion products. Best Regards, Seetha


ST Stephen June 12, 2006 06:37 PM UTC

Do you have an idea as to when this feature will be available?


AD Administrator Syncfusion Team June 13, 2006 10:55 AM UTC

Hi Stephen, We have increased the priority of the Feature id:#501. Also we have contacted our development team regarding this issue and have asked for a time frame. We will update you once the feature is added. Thanks for your patience. Best Regards, Seetha


JS James Sandys-Lumsdaine April 11, 2007 09:33 AM UTC

This is now marked as complete in the tracker but doesn't mention any example or version it is available in.

Any examples of how to use this functionality?


PJ Poly J Syncfusion Team April 11, 2007 02:00 PM UTC

Hi,

Thanks for your interest in Syncfusion Products.

We have implemented this feature in 4.2 version. Please let us know the Essential Studio Version you are using.

Regards,
Poly



JS James Sandys-Lumsdaine April 11, 2007 02:33 PM UTC

We're using 4.4 - we can't find the functionality that's being spoken of.


GR Golda Rebecal Syncfusion Team April 11, 2007 02:37 PM UTC

Hi jas_sl,

We have to add the close button to the TabPrimitives collection of TabControlAdv.

//To add the close button to TabControlAdv

this.tabControlAdv1.TabPrimitivesHost.TabPrimitives.Add(new Syncfusion.Windows.Forms.Tools.TabPrimitive(Syncfusion.Windows.Forms.Tools.TabPrimitiveType.Close, null, System.Drawing.Color.Empty, true, 1, "TabPrimitive0"));

this.tabControlAdv1.TabPrimitivesHost.Visible = true;

Please have a look at the attached sample and let me know if this helps you.

http://websamples.syncfusion.com/samples/tools.Windows/F45097/main.htm

Best Regards,
Golda

Loader.
Up arrow icon