DeleteItems and Undo
Posted: Mon Mar 30, 2015 3:48 pm
Hi,
Is it possible to undo/redo DeleteItems? I have tried the code below but got errors when clicking Undo.
Cheers, Jim.
Is it possible to undo/redo DeleteItems? I have tried the code below but got errors when clicking Undo.
Code: Select all
BeginUndoGroup(rvutDelete);
SetUndoGroupMode(True);
try
DeleteItems(5, 5);
finally
SetUndoGroupMode(False);
end;