Vcl.DdeMan.TDdeServerItem.CopyToClipboard

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure CopyToClipboard;

C++

void __fastcall CopyToClipboard();

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.DdeMan.pas
Vcl.DdeMan.hpp
Vcl.DdeMan TDdeServerItem

Description

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

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.

See Also