Returns or sets the appearance—tabs or buttons—of a TabStrip control.
object.Style [= value]
The Style property syntax has these parts:
Part | Description |
---|---|
object | The object placeholder represents an object expression that evaluates to an object. |
value | A constant or integer that determines the appearance of the tabbed dialog box, as described in Settings. |
The settings for value are:
Value | Description |
---|---|
0 | (Default) Tabs. The tabs appear as notebook tabs, and the internal area has a three-dimensional border around it. |
1 | Buttons. The tabs appear as regular push buttons, and the internal area has no border around it. |
At design time, select the Style property you want—tabs or buttons—from the Style list on the General tab of the Prperties Page of the TabStrip control.
At run time, use code like the following to set the Style property:
' Style property set to the Tabs style.
TabStrip1.Style = tabTabs
' Style property set to the Buttons style.
TabStrip1.Style = tabButtons