Undo/Redo Image
Posted: Fri Apr 08, 2016 10:20 am
RVE: v14.0.3
Delphi Seattle 10 U1
Any way to undo/redo inserted images to TRichViewEdit? I added image to rve using AddPictureEx.
I tried something like below to no avail:
Thanks!
Delphi Seattle 10 U1
Any way to undo/redo inserted images to TRichViewEdit? I added image to rve using AddPictureEx.
I tried something like below to no avail:
Code: Select all
...
rve.TopLevelEditor.BeginUndoGroup(rvutInsert);
rve.TopLevelEditor.SetUndoGroupMode(True);
try
rve.AddPictureEx(...);
finally
rve.TopLevelEditor.SetUndoGroupMode(False);
end;