RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDdeClientConv.ExecuteMacroLines Method

Sends a list of several macro commands to a DDE server application.

Pascal
function ExecuteMacroLines(Cmd: TStrings; waitFlg: Boolean): Boolean;
C++
__fastcall Boolean ExecuteMacroLines(TStrings Cmd, Boolean waitFlg);

Call ExecuteMacroLines to send several macro commands to the server application. To send a single macro command, use ExecuteMacro instead. ExecuteMacroLines returns true if the macro list was successfully passed to the DDE server application. If ExecuteMacroLines is unable to send a list of command strings, it returns false. 

Cmd contains the list of macros to be executed by the DDE server application. WaitFlg determines if this DDE client should wait until the DDE server application finishes executing all the macros before allowing another DDE transaction to be sent. If WaitFlg is set to true, subsequent calls to ExecuteMacro, ExecuteMacroLines, PokeData, PokeDataLines, and RequestData will fail until the DDE server application completes all of the macros. 

 

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