Type: Integer
Availability: Read or write at any time
The tabsStyle property controls whether a Folder control is displayed with sculptured tabs or push buttons.
The values for this property are listed in the following table.
Folder Class Constant | Value | Description |
---|---|---|
TabsStyle_Tabs | 0 | Tabs stay in place on each line, but the currently selected tab line moves to the bottom of the line of tabs (the default). No highlight of an extra pixel is drawn around the current sheet. |
TabsStyle_Buttons | 1 | Buttons push down or come up in place. As the buttons are drawn by using common facilities, they look like standard buttons. |
When the tabsStyle property is set to TabsStyle_Buttons for a Folder control, tabs are drawn using the Button control skin if the application has defined a button skin. | ||
TabsStyle_RightSloped | 2 | Draws tabs with a sloped right-hand border. Tabs drawn with this style differ from the appearance of the TabsStyle_Tabs style in the following ways. |
|
||
|
||
|
||
|
||
|
Tab styles have different effects on the appearance of the folder control, as follows.
Tabs are drawn with slightly rounded corners and have a three-dimensional border around each tab.
Buttons are rectangular, drawn with three-dimensional effects, and there is no border drawn around the folder.
The tabsLines property setting of TabsLines_MultiLineEdged (0) is therefore treated as multiple lines with no simulated sheet edges.
Tabs are drawn using a rectangle with a sloped top-right border, shown in the following image.
The following example shows folder tabs with right-sloping borders.