Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to put a close button on TabPage header?

button header tabpage
0
Posted

How to put a close button on TabPage header?

0

We can build a custom TabControl and override its OnDrawItem method in which you paint the “close button”, then do the hit testing and close the tab when the “close button” is clicked. The following article demonstrates the idea in more detail: http://www.codeproject.com/cs/miscctrl/firefoxtabcontrol.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123