Results 1 to 5 of 5

Thread: [RESOLVED] How to differ a selected tab control? (Bolding only its text)

  1. #1

    Thread Starter
    Hyperactive Member pourkascheff's Avatar
    Join Date
    Apr 2020
    Location
    LocalHost
    Posts
    327

    Resolved [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.

  2. #2
    Junior Member
    Join Date
    Jul 2022
    Posts
    24

    Re: How to differ a selected tab control? (Bolding only its text)

    Framework version? Desktop or Web?

  3. #3

    Thread Starter
    Hyperactive Member pourkascheff's Avatar
    Join Date
    Apr 2020
    Location
    LocalHost
    Posts
    327

    Re: How to differ a selected tab control? (Bolding only its text)

    VS2019 | .NET Framework 4.8 | Desktop WinForms | Built-in Controls

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    109,808

    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.

  5. #5

    Thread Starter
    Hyperactive Member pourkascheff's Avatar
    Join Date
    Apr 2020
    Location
    LocalHost
    Posts
    327

    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
  •  



Click Here to Expand Forum to Full Width