Vcl.DBCtrls.TDBLookupComboBox.ListSource

From RAD Studio API Documentation
Jump to: navigation, search

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 TDBLookupComboBox

Description

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

Vcl.DBCtrls.TDBLookupComboBox.ListSource inherits from Vcl.DBCtrls.TDBLookupControl.ListSource. All content below this line refers to Vcl.DBCtrls.TDBLookupControl.ListSource.

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