[RESOLVED] How to differ a selected tab control? (Bolding only its text)
Hi all. O7
Consider you have a tab control with a lot of tab items and they also contain some tabs in themselves eighter. I am looking for something like making their names/captions bold to addressing very quickly and easy to read for operator.
I break down these question to 2:
A) What is the correct property to change that won't effect tab's sub items/controls in it? (They also follow the changes).
B) What is the smartest way to implement it to avoid numeral addressing? I mean not a series of If/Elses sensitive to TabIndex(i). Automatically detects selected tab, make it bold and if I add another page/tab they also follow the rules.
Thanks in advance.
Re: How to differ a selected tab control? (Bolding only its text)
Framework version? Desktop or Web?
Re: How to differ a selected tab control? (Bolding only its text)
VS2019 | .NET Framework 4.8 | Desktop WinForms | Built-in Controls
Re: How to differ a selected tab control? (Bolding only its text)
I don't think it's possible with the TabControl out of the box. You should be able to do it with a little bit of customisation though. There are information about customising the TabControl here.
Re: How to differ a selected tab control? (Bolding only its text)
Thanks, I also found quite useful thingz there.