-
May 29th, 2023, 05:42 AM
#1
Thread Starter
Hyperactive Member
[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.
-
May 29th, 2023, 01:30 PM
#2
Junior Member
Re: How to differ a selected tab control? (Bolding only its text)
Framework version? Desktop or Web?
-
May 30th, 2023, 02:11 AM
#3
Thread Starter
Hyperactive Member
Re: How to differ a selected tab control? (Bolding only its text)
VS2019 | .NET Framework 4.8 | Desktop WinForms | Built-in Controls
-
May 30th, 2023, 10:24 PM
#4
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.
-
Jun 3rd, 2023, 10:11 AM
#5
Thread Starter
Hyperactive Member
Re: How to differ a selected tab control? (Bolding only its text)
Thanks, I also found quite useful thingz there.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|