Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SSTab width

Status
Not open for further replies.

rickyoswaldiow

Programmer
Jul 16, 2007
127
GB
I'm having a little troulbe with the width of the tabs on the SSTab control. The titles do not fit and I cannot find a property to stretch them...
screen.jpg
 

(Your image does not show, but....)

Tabs in SSTab control will adjust to width of the control. If they are not wide enough, you may change them to be im more than one row.

If you have 8 Tabs in one row, you can show them in two rows of 4 Tabs each. Just change .TabsPerRow property to 4, in this case.

Have fun.

---- Andy
 
Your image does not show
It's being tempermental :/

I understand that I can add more rows and chose how many are displayed per row, but I have seen programs where each tab has an individual width. I would take a screenshot but there doesn't seem to be much point!
 
I have found the property to use:
Style = ssStylePropertyPage

Just click your SSTab control, look in the properties window and find "Style". Set this to "ssStylePropertyPage".
It does change the look of the SSTab control slightly, but the tab title widths will now stretch with the text you type into them.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top