RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomTabControl.Create Constructor

Creates and initializes an instance of TCustomTabControl.

Pascal
constructor Create(AOwner: TComponent); override;
C++
virtual __fastcall TCustomTabControl(TComponent * AOwner);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!