CanRedoEdit

Forms, interaction, edit history

Description

Reports whether the active TPDFlibFormSession edit has a retained history entry that RedoEdit can replay

A newly accepted edit removes any redo branch that followed the current history position

Declaration

function CanRedoEdit: Boolean;

Return value

Returns True when at least one retained edit can be redone, otherwise False

Example

RedoButton.Enabled := Session.CanRedoEdit;

See also

RedoEdit, CanUndoEdit, TPDFlibFormSession