[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Performs actions needed to update the linked dataset when the value for the control has changed.
Source position: dbctrls.pp line 392
protected procedure TDBListBox.UpdateData( |
Sender: TObject |
); override; |
Sender |
|
Object for the event notification. |
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.
|
The list of all items defined in the control. |
|
|
UpdateData - method for applying any pending changes to the data. |
|
|
The Field to which the datalink is attached. |
|
|
OnUpdateData - event handler for updating any pending changes in the data. |
|
|
Ordinal position for the currently selected item, -1 if none. |
Version 4.0 | Generated 2025-05-03 | Home |