Vcl.StdCtrls.TCustomListBox.Create
Delphi
constructor Create(AOwner: TComponent); override;
C++
__fastcall virtual TCustomListBox(System::Classes::TComponent* AOwner);
/* TWinControl.CreateParented */ inline __fastcall TCustomListBox(HWND ParentWindow) : Vcl::Controls::TCustomMultiSelectListControl(ParentWindow) { }
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TCustomListBox |
Description
Instantiates a list box control.
Call Create to instantiate a list box control at runtime. For list boxes created at design time, Create is called automatically.AOwner is the component that is responsible for freeing the list box. It becomes the value of the Owner property. If AOwner is nil, the caller is responsible for explicitly freeing the control.