This property returns and sets a value that determines the justification or width of all Tab objects in a TabStrip control.
object.TabWidthStyle [= value]
At design time you can set the TabWidthStyle property on the General tab of the Properties Page of the TabStrip control. The setting of the TabWidthStyle property affects how wide each Tab object appears at run time.
The following code example shows how to set the TabWidthStyle property at run time.
' Justifies all the tabs in a row to fit the width of the control.
TabStrip1.MultiRow = True
TabStrip1.TabWidthStyle = 0 ' tabJustified
' Creates ragged rows of tabs.
TabStrip1.MultiRow = True
TabStrip1.TabWidthStyle = 1 ' tabNonJustified
' Sets the same width for all tabs.
TabStrip1.TabFixedWidth = 500
TabStrip1.TabWidthStyle = 2 ' tabFixed