Search found 4 matches

by Adz
Fri Apr 08, 2016 2:12 pm
Forum: Support
Topic: Memory leak?
Replies: 2
Views: 12127

Hi Sergey,

Thanks for the prompt reply! This confirms my log. Thank you for the support, might be here in a while, still new to trv for my client. Great support btw :)
by Adz
Fri Apr 08, 2016 2:00 pm
Forum: Support
Topic: Undo/Redo Image
Replies: 3
Views: 13806

Ahh InsertPicture works. Semantics? :)


Thank you.
by Adz
Fri Apr 08, 2016 10:56 am
Forum: Support
Topic: Memory leak?
Replies: 2
Views: 12127

Memory leak?

RVE: v14.0.3
Delphi Seattle 10 U1

Adding image to TRichViewEdit and freeing the img when closing the form throws AV.

Sample code:

rve: TRichViewEdit;
img: TWICImage;
...

procedure TForm1.FormCreate(Sender: TObject);
begin
img := TWICImage.Create;
end;

procedure TForm1.FormClose(Sender ...
by Adz
Fri Apr 08, 2016 10:20 am
Forum: Support
Topic: Undo/Redo Image
Replies: 3
Views: 13806

Undo/Redo Image

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:

...
rve.TopLevelEditor.BeginUndoGroup(rvutInsert);
rve.TopLevelEditor.SetUndoGroupMode(True);
try
rve.AddPictureEx ...