ClearEditHistory
Forms, interaction, edit history
Description
Discards every retained undo and redo entry for the active form-field edit without changing its current value, display value, selection or modified state
Starting, committing, cancelling or resetting an edit also clears its history automatically
Declaration
procedure ClearEditHistory;
Example
Session.ClearEditHistory;
UndoButton.Enabled := False;
RedoButton.Enabled := False;