Vcl.ExtCtrls.TCustomPanel.Create
Delphi
constructor Create(AOwner: TComponent); override;
C++
__fastcall virtual TCustomPanel(System::Classes::TComponent* AOwner);
/* TWinControl.CreateParented */ inline __fastcall TCustomPanel(HWND ParentWindow) : Vcl::Controls::TCustomControl(ParentWindow) { }
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Vcl.ExtCtrls.pas Vcl.ExtCtrls.hpp |
Vcl.ExtCtrls | TCustomPanel |
Description
Creates and initializes an instance of TCustomPanel.
Call Create to instantiate a panel at runtime. Panels placed in forms at design time do not need to be explicitly created because they are created automatically.
AOwner is the component, typically a form, that is responsible for freeing the panel.