RP
Ramesh Praveen
Syncfusion Team
March 28, 2003 12:32 PM UTC
Kenneth,
You can make the scroll button visible all the time, by subclassing the TabControlExt and overriding this method, as follows:
protected override void AdjustScrollButtonDimensions(ref RectangleF tabPanelBounds, bool scrollNeeded)
{
if(this.ScrollButtons == null && !this.Multiline)
InitScrollButtons();
// Second arg should be true all the time. base.AdjustScrollButtonDimensions(ref tabPanelBounds, true);
}
We do not have built-in support for a close button in the tab control. I will make this a feature request. If you are interested, you can look at our custom tab control implementation used in our tabbed mdi layout in the file Tools\src\FrameworkComponents\TabbedMDI\MDITabPanel, to get some hints on how to implement this yourself.
Regards,
Praveen Ramesh
RP
Ramesh Praveen
Syncfusion Team
March 28, 2003 12:33 PM UTC
Another, approach is to simply place a button over the tab control at the right position.
Regards,
Praveen Ramesh