Skip to content

peTabStyle - TabDialog

Determines if tabs are displayed as tabs or buttons

Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None

Syntax

Property Integer peTabStyle
Access Type Syntax
Read Access: Get peTabStyle to IntegerVariable
Write Access: Set peTabStyle to IntegerVariable/Value

Description

Possible values of peTabStyle

Value Meaning
tsTabs Shows the conventional tabpages. The buttons are attached to the page.
tsButtons Shows a row of buttons in the top of the display. Buttons are not attached to the pages. Clicking a button will activate the page. There is no visual clue to the user that the button belongs to a page.
tsFlatButtons Same as tsButtons but the button itself is flat (no borders). The active button shows depressed. Hover over not active buttons shows the border of the buttons. There is no visual clue to the user that the text string belongs to a button.

Default is tsTabs.

The position of the tabs can be on the top or the bottom of the tab-dialog. This is controlled by peTabPosition.

Col 1 Col 2
Note: Setting peTabStyle to either tsButtons or tbFlatButtons will set the peTabPosition property to tpTop, as windows does not support buttons or flat buttons on the bottom of the tab-dialog.