Tab Control Font Bold

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a standard tab contol on a form. I would like the font for the
selected page to go bold when the user selects it and the other non-selected
page font to not be bold. So the selected page caption would always be BOLD
and the other normal.
Any ideas on how to do this?
Thanks!
 
Joey said:
I have a standard tab contol on a form. I would like the font for the
selected page to go bold when the user selects it and the other
non-selected page font to not be bold. So the selected page caption
would always be BOLD and the other normal.
Any ideas on how to do this?
Thanks!

Can't be done AFAIK. The entire TabControl has only one set of properties
for the tab fonts. You could edit the text in the tab by adding asterisks
(*** My Text ***) or something like that, but I don't think you can change
the font, font-weight, or font color on a per tab basis.
 
Thanks for the reply, Rick.

Rick Brandt said:
Can't be done AFAIK. The entire TabControl has only one set of properties
for the tab fonts. You could edit the text in the tab by adding asterisks
(*** My Text ***) or something like that, but I don't think you can change
the font, font-weight, or font color on a per tab basis.
 
Joey,

One way to do this "sort of", is to set the Style property of the Tab
Control to None. Then, make an Option Group on the form, with a couple
of Toggle Buttons, which you can use to control the navigation between
the pages of the tab control. That way, you can control the font
properties of the toggle buttons independently.
 
Thanks, Steve. I might try that.


Steve Schapel said:
Joey,

One way to do this "sort of", is to set the Style property of the Tab
Control to None. Then, make an Option Group on the form, with a couple
of Toggle Buttons, which you can use to control the navigation between
the pages of the tab control. That way, you can control the font
properties of the toggle buttons independently.
 
Back
Top