Sign in Join
FPDoc Onlineexperiment

TDBLookupListBox.UpdateData procedure

Member of TDBLookupListBoxprotectedIn unit DBCtrls

Updates the data in the lookup dataset for the control.

Declaration

pascal
procedure UpdateData(Sender: TObject); override

Arguments

Sender

Object for the event notification.

Description

UpdateData is an overridden procedure in TDBLookupListBox. It implements the abstract virtual method defined in the ancestor class. UpdateData uses the value in ItemIndex to update the internal TDBLookup instance for the control. When ItemIndex contains a positive non-zero value, the UpdateData method in TDBLookup is called to apply the ItemIndex value.

No actions are performed in the method when ItemIndex contains a negative non-zero value.

UpdateData is called from the DoSelectionChange method when IsUnbound returns True.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.