Directo desde el F1
TCustomEdit.CopyToClipboard
TCustomEdit See also Example
Copies the selected text in the edit control to the Clipboard in CF_TEXT format.
procedure CopyToClipboard;
Description
Use CopyToClipboard to replace the contents of the Clipboard with the selected text. CopyToClipbard does not clear the Clipboard if no text is selected. If no text is selected, CopyToClipboard does nothing.
Note: Calling CopyToClipboard does the same thing as sending the edit control a WM_COPY message.
|