Very Late, I see your kindly answer...
I did the test as you answered, but it doesn't work the way I want it to.
Text is dropping but images aren't downloaded.
I've looked at this document...
http://www.trichview.com/forums/viewtop ... ace#p31614
I tested using RVControlPanel, DownloadInterface and IndyHTTP. but it doesn't work like it should.
I set properties...
- rvControlPanel.DefaultControl := rve;
- rvControlPanel.DownloadInterface := rvDownloadInterface;
- rvDownloadInterface.IdHttp := IndyHttp;
It's my source code below...
Code: Select all
procedure TMyForm.rveBeforeOleDrop(Sender: TObject);
begin
rvControlPanel.InitImportPictures(nil, nil);
(Sender as TCustomRichViewEdit).OnImportPicture := rvControlPanel.DoImportPicture;
end;
procedure TMyForm.rveAfterOleDrop(Sender: TObject);
var
W, X: Integer;
begin
(Sender as TCustomRichViewEdit).OnImportPicture := nil;
rvControlPanel.DoneImportPictures;
end;
And I try drop&drop to rve from Texts&Pictures in IE, but it doesn't work...
I don't know why rvControlPanel.DoImportPicture doesn't do anything.
Help me plz...
