API:Vcl.DBCtrls.TDBListBox.Create
Delphi
constructor Create(AOwner: TComponent); override;
C++
__fastcall virtual TDBListBox(System::Classes::TComponent* AOwner);
/* TWinControl.CreateParented */ inline __fastcall TDBListBox(HWND ParentWindow) : Vcl::Stdctrls::TCustomListBox(ParentWindow) { }
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Vcl.DBCtrls.pas Vcl.DBCtrls.hpp |
Vcl.DBCtrls | TDBListBox |
Description
Instantiates a list box control.
Vcl.DBCtrls.TDBListBox.Create inherits from Vcl.StdCtrls.TCustomListBox.Create. All content below this line refers to Vcl.StdCtrls.TCustomListBox.Create.
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.