Web forum is in read-only mode. Login as active registered customer for write access
  Forum Search   New Posts New Posts

CopyToClipboard...

 Post Reply Post Reply
Author
Drake Mark View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 Jan 2011
Posts: 120
Post Options Post Options   Quote Drake Mark Quote  Post ReplyReply Direct Link To This Post Topic: CopyToClipboard...
    Posted: 26 Jul 2019 at 3:55am
Hello,

Delphi 10.2.

unit ScrMemo;

  MAJ_VER = 3; // Major version nr.
  MIN_VER = 6; // Minor version nr.
  REL_VER = 2; // Release nr.
  BLD_VER = 0;// Build nr.
  DATE_VER = 'Nov, 2017'; // Month version

I added rtf to the clipboard format:
 ScrMemo1.ClipboardFormats:=ScrMemo1.ClipboardFormats + [cfRTF];

The text copied to the clipboard is not correct.
This is called.

  if cfRTF in ClipboardFormats then
  begin
    OutputRTF(true, SelStartY, SelEndY);
    rtfstr := AnsiString(FRTFEngine.GetText);
  end;

The selection end position to the end of the line is copied to the clipboard, not the selected text.

Mark
     



Back to Top
Bruno Fierens View Drop Down
TMS Support
TMS Support
Avatar

Joined: 11 May 2010
Posts: 7969
Post Options Post Options   Quote Bruno Fierens Quote  Post ReplyReply Direct Link To This Post Posted: 01 Aug 2019 at 6:27pm
We fixed the issue. The next update will address this.
Back to Top
Drake Mark View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 Jan 2011
Posts: 120
Post Options Post Options   Quote Drake Mark Quote  Post ReplyReply Direct Link To This Post Posted: 03 Aug 2019 at 3:40pm
Thanks
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down