Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
if Memo1.SelLength > 0 then
Memo1.CopyToClipboard;
You are correct buho - I should have checked the help file first! I was just presuming it would save a needless call to the CopyToClipboard method.Delphi Help File said:Use CopyToClipboard to replace the contents of the Clipboard with the selected text. CopyToClipboard does not clear the Clipboard if no text is selected. If no text is selected, CopyToClipboard does nothing.