Vcl.DBCtrls.TDBLookupListBox.Create
Delphi
constructor Create(AOwner: TComponent); override;
C++
__fastcall virtual TDBLookupListBox(System::Classes::TComponent* AOwner);
/* TWinControl.CreateParented */ inline __fastcall TDBLookupListBox(HWND ParentWindow) : TDBLookupControl(ParentWindow) { }
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Vcl.DBCtrls.pas Vcl.DBCtrls.hpp |
Vcl.DBCtrls | TDBLookupListBox |
Description
Creates an instance of TDBLookupListBox.
Call Create to instantiate a TDBLookupListBox object at runtime. For TDBLookupListBox objects placed on forms or data modules at design time, Create is called automatically.
Pass a single Component as a parameter to provide the TDBLookupListBox object with an Owner that is responsible for freeing it.After calling the inherited constructor to allocate and initialize a generic lookup control, Create creates and initializes the helper objects needed to link to a dataset.