RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDdeClientConv.SetLink Method

Specifies the service and topic of a DDE conversation and attempts to open the link if ConnectMode is ddeAutomatic.

Pascal
function SetLink(const Service: string; const Topic: string): Boolean;
C++
__fastcall Boolean SetLink(const AnsiString Service, const AnsiString Topic);

Call SetLink to fully specify a DDE conversation. If ConnectMode is ddeManual, calling SetLink is equivalent to setting the DdeTopic and DdeService properties, and clearing all data from any associated TDdeClientItem objects. If ConnectMode is ddeAutomatic, SetLink opens the link to the DDE server as well. 

The Service and Topic parameters specify the values for the DdeTopic and DdeService properties, respectively. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!