ImageEn, unit imageenproc

TImageEnProc.CanRedo

TImageEnProc.CanRedo


Declaration

property CanRedo: Boolean;


Description

Returns True when there are entries in the Redo stack (i.e. so Redo can be used).


Demo

Demo  Demos\ImageEditing\UndoRedo\UndoRedo.dpr


Example

procedure TMainForm.btnRedoClick(Sender: TObject);
begin
  If ImageEnView1.Proc.CanRedo then
    ImageEnView1.Proc.Redo
  else
    ShowMessage('Nothing to Redo!');
end;


See Also

Redo