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;

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!