Add Close button to Each Tab
Posted on 2004-09-23
i need to add a close button to each tab (TPageControl ot TTabControl) so i used the drawtab event
// i is an imagelist
i.Draw(tabcontrol1.Canvas,Rect.Right -20,Rect.Top +2,0);
but this seems to remove all the 3d and xp style painting, anyway to make the
control continue the default painting after this line?