[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Called when editing has been completed in the control.
Source position: dbctrls.pp line 1025
public procedure TDBMemo.EditingDone; override; |
EditingDone is an overridden method in TDBMemo. It is called when the user has finished editing in the control, and ensures that changes are applied to the field in the linked data set.
In TDBMemo, it calls the UpdateRecord method in the field data link when it can be modified and has been placed in edit mode. The inherited method is called to signal the OnEditingDone event handler (when assigned).
If the field cannot be modified in the linked data set, or the data set is not in Edit mode, the Reset method in the field data link is called. This will signal the OnDataChange event handler (when assigned), but the linked data set is not updated.
EditingDone is called from the KeyUpAfterInterface method when the VK_RETURN key code is handled, and when the focus is changed to another control.
|
True if the linked field is capable of being modified. |
|
|
True if the linked field is being edited. |
|
|
Checks whether the link is active, calls the OnDataChange event handler then sets IsModified to False. |
|
|
Event handler signalled when the field data link has been changed. |
|
|
Enforces the setting in the ReadOnly property when editing is finished in the control. |
|
|
Event handler signalled when editing is completed for the control. |
Version 4.0 | Generated 2025-05-03 | Home |