RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBLookupListBox Class

TDBLookupListBox provides a list of lookup items for filling in fields that require data from another dataset.

Pascal
TDBLookupListBox = class(TDBLookupControl);
C++
class TDBLookupListBox : public TDBLookupControl;

DBCtrls

Use TDBLookupListBox to provide users with a convenient list of lookup items to set a field value using the values of a field in another dataset. Lookup list boxes usually display values that are a represent a more meaningful description of the actual field value. 

If TDBLookupListBox is linked to a lookup field component, it automatically reads the relationship between the field value and the lookup values in the lookup dataset from the field component. The relationship between field values and the corresponding values in the lookup dataset can also be explicitly set using the properties of the lookup list box when the list box is not linked to a lookup field component. 

 

TDBLookupComboBox 

TDBListBox 

Displaying and Editing Data in List and Combo Boxes 

Displaying and Editing Data in Lookup List and Combo Boxes 

Using Common Data Control Features

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!