Vcl.DBCtrls.TDBLookupControl.ListSource

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ListSource: TDataSource read GetListSource write SetListSource;

C++

__property Data::Db::TDataSource* ListSource = {read=GetListSource, write=SetListSource};

Properties

Type Visibility Source Unit Parent
property protected
Vcl.DBCtrls.pas
Vcl.DBCtrls.hpp
Vcl.DBCtrls TDBLookupControl

Description

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