This property returns and sets a value indicating whether a TabStrip control can display more than one row of tabs.
object.MultiRow [= Boolean]
Setting |
Description |
True | Enables more than one row of tabs |
False | Restricts tabs to a single row |
The width and number of the tabs automatically sets the number of rows. The number of rows change when the control is resized, which ensures that the tab wraps to the next row. If MultiRow is set to False, and the last tab exceeds the width of the control, a horizontal spin control is added at the right end of the TabStrip control.
At design time, set the MultiRow property in the Properties Page of the TabStrip control. The following code example shows how to set the MultiRow property at run time.
'Allows more than one row of tabs in the TabStrip control.
TabStrip1.MultiRow = TRUE