Style Property

Applies To

Tab control.

Description

You can use the Style property to specify or determine the appearance of tabs on a tab control.

Setting

The Style property uses the following settings.

Setting

Description

Visual Basic

Tabs

(Default) Tabs appear as tabs.

acTabs

Buttons

Tabs appear as buttons.

acButtons

None

No tabs appear in the control.

acNone


You can set the Style property by using the tab 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.

You can set the Style property in any view.

Remarks

When the tab control's Style property is set to Tabs or Buttons, the appearance of the tabs is determined by the TabFixedHeight, TabFixedWidth, and MultiRow properties.

You could set the tab control's Style property to None if you wanted complete control over when a user could move between tabs. In prior versions of Microsoft Access, wizard dialogs were created by using multiple-page forms. You can now use a tab control create your own wizard with each page of the wizard contained on a separate page of a tab control with its Style property set to None.

See Also

MultiRow property, Style property, TabFixedHeight, TabFixedWidth properties.