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
Creates and initializes an instance of TDBListBox.
Call Create to instantiate a TDBListBox object at runtime. For TDBListBox objects placed on forms or data modules at design time, Create is called automatically.
AOwner is the component, typically the form, that is responsible for freeing the TDBListBox instance. It becomes the value of the Owner property.