Tab Control Font Bold

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!
 
R

Rick Brandt

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.
 
G

Guest

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.
 
S

Steve Schapel

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.
 
G

Guest

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Outlook Outlook 2007 Font 0
Changing the font of a selected tab 3
Tab Control Caption 7
Selected Text to Bold 1
Tab Control Caption Bold Pages 1
Alarm on a Form 2
bold format 1
tab control question 3

Top