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;
Code: Select all
BeginUndoGroup(rvutDelete);
SetUndoGroupMode(True);
try
DeleteItems(5, 5);
finally
SetUndoGroupMode(False);
end;