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

# TCustomDBListBox.Create

Constructor for the class instance.

## Declaration

Source position: dbctrls.pp line 374

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

## Description

Create is the overridden constructor for the class instance. Create calls the inherited constructor, and allocates and configures the internal TFieldDataLink used in the class instance. The DataChange and UpdateData methods are assigned as the OnDataChange and OnUpdateData event handlers in the TFieldDataLink instance.

## See also

TCustomDBListBox.DataChange |  | Performs actions needed when the linked dataset is repositioned.
TCustomDBListBox.UpdateData |  | UpdateData - method for applying any pending changes to the data.
TFieldDataLink.OnDataChange |  | Event handler signalled when the field data link has been changed.
TFieldDataLink.OnUpdateData |  | OnUpdateData - event handler for updating any pending changes in the data.
TCustomListBox.Create |  | Constructor for the class instance.