Vcl.Tabs.TTabSet

Delphi
TTabSet = class(TCustomControl)
C++
class PASCALIMPLEMENTATION TTabSet : public Vcl::Controls::TCustomControl
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| class | public | Vcl.Tabs.pas Vcl.Tabs.hpp | Vcl.Tabs | Vcl.Tabs | 
Description
The TTabSet component presents horizontal tabs users can click to initiate actions.
Tab set controls are commonly used to display tabbed pages within a dialog box. TTabSet is provided for backward compatibility. Use the TTabControl component in 32-bit Windows applications.
You create a set of tabs for the tab set control when you specify a list of strings as the value of the Tabs property. One tab is created for each string.
To determine which tab is currently selected or to use code to select a tab, use the TabIndex property. To find out which tab is the first visible tab in the tab set control or to make a tab the first visible tab, use the FirstIndex property.
Notes for IDE Plugin Developers
For using the same IDE UI in the Vcl.Tabs.TTabSet control, follow these steps:
- Set the TTabSetTabStyle property to tsIDETabs.
- Set the TTabSet.TabHeight property to 24px(96 DPI).
- Set the TTabSet.EdgeWidth property to 1.
- Set the TTabSet.StartMargin property to 0.