TDBListBox.UpdateData procedure
Performs actions needed to update the linked dataset when the value for the control has changed.
Declaration
procedure UpdateData(Sender: TObject); overrideArguments
Sender | Object for the event notification. |
Description
UpdateData is an overridden method in
TDBLIstBox. It
implements the abstract virtual method defined in the ancestor, and provides
support for updating the linked dataset when the value for the control has
been changed.
UpdateData stores the value from Items located at the position in
ItemIndex to the field for the linked dataset. No actions are
performed in the method when ItemIndex is -1 (no item is selected in
the control).
UpdateData is used as the OnUpdateData event handler in the
internal TFieldDataLink instance for the control.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
