MultiRow Property

Applies To

Tab control.

Description

You can use the MultiRow property to specify or determine whether a tab control can display more than one row of tabs.

Setting

The MultiRow property uses the following settings.

Setting

Description

Visual Basic

Yes

Multiple rows are allowed.

True (–1)

No

(Default) Multiple rows aren't allowed.

False (0)


You can set the MultiRow property by using the control's property sheet, a macro, or Visual Basic.

You can also set the default for this property by using a control's default control style or the DefaultControl method in Visual Basic.

Remarks

When the MultiRow property is set to True, the number of rows is determined by the width and number of tabs. The number of rows may change if the control is resized or if additional tabs are added to the control.

When the MultiRow property is set to False and the width of the tabs exceeds the width of the control, navigation buttons appear on the right side of the tab control. You can use the navigation buttons to scroll through all the tabs on the tab control.

See Also

Page object, Pages collection, Style property, TabFixedHeight, TabFixedWidth properties.