EControl Syntax Editor SDK
TCustomSyntaxMemo.CopyToClipboard Method

Copies the selected text in the edit control to the Clipboard.

procedure CopyToClipboard;

In ANSI version CF_TEXT clipboard format is used, in Unicode version CF_UNICODETEXT clipboard format is used. 

If Options contains soCopyAsRTF, CopyToClipboard also copies text in RTF format.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!