[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'DBCtrls' (#lcl)

# TDBLookupComboBox.Create

Constructor for the class instance.

## Declaration

Source position: dbctrls.pp line 914

`public constructor TDBLookupComboBox.Create(`
`AOwner: TComponent`
`); override;`

## Description

Create is the overridden constructor for the class instance. Create calls the inherited constructor, and allocates resources for the internal TDBLookup instance used in the class. The ActiveChange method is assigned as the OnActiveChange event handler in the internal TFieldDataLink instance used in the class. Creates sets the default values for the EmptyValue and DisplayEmpty properties.

## See also

TDBLookupComboBox.DisplayEmpty |  | Value displayed in the lookup control when a lookup value is not available.
TDBLookupComboBox.EmptyValue |  | Value stored for the lookup control when a lookup value is not available.
TDBLookUp |  | TDBLookup - used as source of data by TDBLookupListBox or TDBLookupComboBox, to find data from a lookup table.
TFieldDataLink.OnActiveChange |  | OnActiveChange - event handler for a change in the Active property.
TCustomComboBox.Create |  | Constructor for the class instance.