RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDdeServerItem.CopyToClipboard Method

Copies the data specified in the Text or Lines property to the Windows Clipboard, along with DDE link information.

Pascal
procedure CopyToClipboard;
C++
__fastcall CopyToClipboard();

Use CopyToClipboard to enable DDE clients to link to the DDE server item by executing an Edit | Paste Link command, or its equivalent in the command structure of the DDE client application. 

CopyToClipboard can be used to create a DDE link at runtime only. To create a link at design time, select the TDdeServerItem object and choose Edit | Copy from the menu. Then, activate the DDE client application and paste the link according to the rules of the DDE client application. See the documentation for the DDE client application for specific information about pasting the link. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!