API:Vcl.DockTabSet.TDockTabSet

Delphi
TDockTabSet = class(TTabSet)
C++
class PASCALIMPLEMENTATION TDockTabSet : public Vcl::Tabs::TTabSet
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Vcl.DockTabSet.pas Vcl.DockTabSet.hpp |
Vcl.DockTabSet | Vcl.DockTabSet |
Description
The TTabSet component presents horizontal tabs users can click to initiate actions.
Vcl.DockTabSet.TDockTabSet inherits from Vcl.Tabs.TTabSet. All content below this line refers to Vcl.Tabs.TTabSet.
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
.