Vcl.ComCtrls.TCustomTabControl

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.Controls.TWinControlVcl.Controls.TControlSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTCustomTabControl

Delphi

TCustomTabControl = class(TWinControl)

C++

class PASCALIMPLEMENTATION TCustomTabControl : public Vcl::Controls::TWinControl

Properties

Type Visibility Source Unit Parent
class public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls Vcl.ComCtrls

Description

TCustomTabControl is the base type for tab control components such as TTabControl and TPageControl.

Use TCustomTabControl as a base class when defining a control that includes a set of notebook style tabs across the top. TCustomTabControl introduces many properties, methods, and events to manage appearance and behavior of the tabs, and to respond when the user selects one of the tabs.

Note: When using one of the page controls, if you want to restrict a user from switching to a tab, you cannot set TTabSheet.Enabled to false to accomplish that restriction. Instead, use the OnChanging event to prevent the user from selecting a tab.

See Also