Vcl.ComCtrls.TCustomTabControl.Tabs

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Tabs: TStrings read GetTabs write SetTabs;

C++

__property System::Classes::TStrings* Tabs = {read=GetTabs, write=SetTabs};

Properties

Type Visibility Source Unit Parent
property protected
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomTabControl

Description

Contains the list of text strings that label the tabs of the tab control.

Tabs contains a TStrings, a list of strings that label the tabs in the tab control. To add new tabs to the tab control or to edit the tabs themselves, add a new string or edit the strings currently in the Tabs property. (To open the String List editor, double-click the Tabs property in the Object Inspector.) To rearrange the tabs, rearrange the list of strings.

Tabs can also contain objects associated with the labels, using the System.Classes.TStrings.Objects property.

See Also

Code Examples and Product Samples