Type: Integer
Availability: Read or write at any time
The tabsLines property controls whether the tabs of a Folder control are displayed in multiple or single lines and whether simulated edges of the sheets are displayed.
The values for this property are listed in the following table.
Folder Class Control | Value | Description |
---|---|---|
TabsLines_MultiLineEdged | 0 | If required, each displaying a simulated stack of sheet edges (the default). This setting ignores the value of the tabsRaggedRight property, treating it as though it was set to false. |
TabsLines_MultiLine | 1 | Multiple tab lines that do not display a simulated stack of sheet edges. |
TabsLines_SingleLine | 2 | If the tabs cannot be fitted into one line, scroll arrows are displayed that can be clicked to scroll the appropriate tab entry into view. |
If the tabsStyle property is set to TabsStyle_Buttons (1) or to TabsStyle_RightSloped (2), a tabsLines property setting of TabsLines_MultiLineEdged (0) is treated as if it were set to TabsLines_MultiLine (1); that is, multiple lines with no simulated sheet edges are displayed.
For the TabsStyle_RightSloped (2) setting, TabsLines_MultiLineEdged (0) draws the second rows increasingly offset from the left and there is no multiple-edged drawing of the sheets themselves.
If the resulting tab area uses more than half of the area of the folder, the tabs are automatically drawn in the TabsLines_SingleLine (2) mode.