Vcl.ComCtrls.TCustomTabControl.Create
Delphi
constructor Create(AOwner: TComponent); override;
C++
__fastcall virtual TCustomTabControl(System::Classes::TComponent* AOwner);
/* TWinControl.CreateParented */ inline __fastcall TCustomTabControl(HWND ParentWindow) : Vcl::Controls::TWinControl(ParentWindow) { }
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TCustomTabControl |
Description
Creates and initializes an instance of TCustomTabControl.
Call Create to instantiate a tab control at runtime. Tab controls placed on forms at design time are created automatically. Create calls the inherited Create method and sets the initial values for the tab control, including the creation of a tab list that contains the text strings for the tabs.
AOwner is a component, typically the form, that is responsible for freeing the tab control. It becomes the value of the Owner property.