c# - How to make an Firefox like tabcontrol in c sharp? -
Does anyone know how I can expand and tab page so that x appears on an active tab when pressed Is, the tab stops / ask whether the tab should be closed?
Thanks
Use TabControl.DrawMode property to apply custom drawing MSDN Library is a good example of a document event handler in the article. Use the Graphics.DrawLine () or DrawImage to draw X. Use the mouseup event to click on X To find out which tab was clicked on, you will need the GetTabRect () method. And shrink the space to verify that it was near X.
Comments
Post a Comment