Discussion Locked

Set font bold on the SSTab control

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Using the SSTab control with 2 tabs (0 and 1), I set the style property to 1 ? ssStylePropertyPage. The problem with this is that the selected tab caption text is not displayed as bold.

I tried setting the font to bold first at design time, which didn?t work. Well, it did, in a way, but not what I expected. Then I tried it at run time (SSTabMyTab.Font.Bold = True), and that didn?t work either. Both ways would change the non-selected tab caption text to bold, which is the opposite of what I need.

I know that if I change the property to 0 ? ssStyleTabbedDialog, the selected tab caption text is displayed in bold by default. I just don?t like the look and feel of Windows 3.1. Thanks in advance for any help.

TS

5 replies

by shyl

It works in the latest version of Tab control called "Infragistics ActiveTab" it has 2 font properties one for basic tab & other for SelectedTab

by mohammad_m_saggaf

It looks like there is a bug in the control.
I tried to set the font bold porperty to true and the result that all tabs caption are bold but the selected.
If I were in your place and wanted it to be bolded. I had to change the control.

Good luck.

This discussion is closed to new replies.