Sign in Join
FPDoc Onlineexperiment

TDBComboBox.UpdateData procedure

Member of TDBComboBoxprotectedIn unit DBCtrls

Applies the changed value for the control to the field in its linked dataset.

Declaration

pascal
procedure UpdateData(Sender: TObject); override

Arguments

Sender

Object for the event notification.

Description

UpdateData is an overridden method which implements the abstract virtual method defined in TCustomDBComboBox. UpdateData is used to applying pending changes in the control value to the field in the linked dataset. The value in the Text property for the control is stored to the Field defined in the internal TFieldDataLink instance in the class.

UpdateData is assigned as the OnUpdateData event handler in the internal TFieldDataLink instance used in the control.

See also

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