Vcl.DdeMan.TDdeClientConv.SetLink
Delphi
function SetLink(const Service, Topic: string): Boolean;
C++
bool __fastcall SetLink(const System::UnicodeString Service, const System::UnicodeString Topic);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.DdeMan.pas Vcl.DdeMan.hpp |
Vcl.DdeMan | TDdeClientConv |
Description
Specifies the service and topic of a DDE conversation and attempts to open the link if ConnectMode is ddeAutomatic.
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.