Vcl.DBCtrls.TDBLookupListBox.ListSource

From RAD Studio API Documentation

Delphi

property ListSource: TDataSource read GetListSource write SetListSource;

C++

__property ListSource;

Properties

Type Visibility Source Unit Parent
property published
Vcl.DBCtrls.pas
Vcl.DBCtrls.hpp
Vcl.DBCtrls TDBLookupListBox

Description

Identifies a data source for the data displayed in the lookup control. {{#multireplace:Vcl.DBCtrls.TDBLookupListBox.ListSource|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Vcl.DBCtrls.TDBLookupControl.ListSource|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Vcl.DBCtrls.TDBLookupControl.ListSource|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

Identifies a data source for the data displayed in the lookup control.

Set LookupSource to the data source that contains the KeyField and ListField fields. If the DataField field is a lookup field, don't specify anything for ListSource; data controls automatically use the lookup field's LookupDataSet property to create a data source.

See Also