[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ValEdit' (#lcl)

TValueListEditor.RestoreCurrentRow

Restores pre-editing values in the current row.

Declaration

Source position: valedit.pas line 196

public function TValueListEditor.RestoreCurrentRow: Boolean;

Function result

True if the values were successfully restored in the current row.

Description

RestoreCurrentRow is a Boolean function used to restore the values for the current row to their state prior to editing in the control. If an editor has been assigned and has focus, it is hidden by calling EditorHide.

Values in the internal TKeyValuePair for the last row edited are restored in the Cells for the current Row. The EditorShow method is called to show the active editor after the row values are restored.

The return value is True if the pre-editing values were successfully restored in the current Row. The return is False if values were not edited, or an editor was not assigned and focused in the control.


Version 4.0 Generated 2025-05-03 Home