ImageEn, unit iexRichEdit

TIERichEdit.UndoName

TIERichEdit.UndoName


Declaration

property UndoName: TIEUndoName;


Description

Returns the type of the next item in the Undo queue.

Rich Edit Identifier: EM_GETUNDONAME


Example

case IERichEdit1.UndoName of
  unTyping   : btnUndo.Caption := 'Undo Typing';
  unDelete   : btnUndo.Caption := 'Undo Delet';
  unDragDrop : btnUndo.Caption := 'Undo DragDrop';
  unCut      : btnUndo.Caption := 'Undo Cut';
  unPaste    : btnUndo.Caption := 'Undo Paste';
  unUnknown  : btnUndo.Caption := 'Undo';
end;
btnUndo.Enabled := IERichEdit1.CanUndo;