Recent

Author Topic: Strg + C versus clipboard  (Read 528 times)

Nicole

  • Hero Member
  • *****
  • Posts: 1303
Strg + C versus clipboard
« on: July 26, 2023, 04:23:01 pm »
OP Windows, there is a Richmemo of which I want to copy a text with a handful of lines.

I wrote (onAButtonClick):
Code: Pascal  [Select][+][-]
  1. Clipboard.AsText :=RichEdit_Tradeausgabe.Lines.Text;

and found my line-breaks gone after inserting it in a certain software (in other software the line breaks were fine)

ALTERNATIVELY I found:
if I selected the text by the mouse, hit str + c and after str + v
Then the linebreaks were fine even in my special software (Inkscape text tool, but not important)

What can I do, that the clipboard copy (or anything else) behaves like "str + c"?

Thanks

(case this is important: The selection is Win 7, the paste in Win 10)

 

TinyPortal © 2005-2018