I need to add an X button on my tab headers so that the user can close the tabs easily and intuitively.
I want it to work like firefox tabs, where you can press the X on any tab to close it at any time.
Is there any way to do this?
Printable View
I need to add an X button on my tab headers so that the user can close the tabs easily and intuitively.
I want it to work like firefox tabs, where you can press the X on any tab to close it at any time.
Is there any way to do this?
I am not entirely sure but i am guessing you would have to overide the paint event of the tab.
You'd have to draw the tabs yourself. If you search the web for owner draw tabcontrol or the like you should find some examples.