MultiRow

This property returns and sets a value indicating whether a TabStrip control can display more than one row of tabs.

Syntax

object.MultiRow [= Boolean]

Parameters

object
Object expression that evaluates to a TabStrip control.
Boolean
Boolean expression that specifies whether a control has more than one row of tabs. Following are the settings for Boolean:
Setting
Description
True Enables more than one row of tabs
False Restricts tabs to a single row

Remarks

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