[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Checks whether the link is active, calls the OnDataChange event handler then sets IsModified to False.
Source position: dbctrls.pp line 82
public procedure TFieldDataLink.Reset; |
Reset is a procedure used to cancel pending changes in the Control value before they are written to the Field in the linked dataset. Reset signals the OnDataChange event handler (when assigned), but does not store pending changes to the current record in the linked dataset.
The internal IsModified flag is reset in the method, as are flags which track the editing state for the source of the control value. Call the OnDataChange event handler to affect the internal IsModified flag only.
Reset is used in the implementation of methods in data-aware controls which process, apply, or cancel changes to the control value.
|
The Control to which this datalink is attached. |
|
|
Event handler signalled when the field data link has been changed. |
|
|
Cancels pending changes to the linked dataset. |
|
|
Handles key down events in the control. |
Version 4.0 | Generated 2025-05-03 | Home |