RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDdeServerItem.Lines Property

Contains the data to exchange in a DDE conversation.

Pascal
property Lines: TStrings;
C++
__property TStrings Lines;

Set Lines to the data the DDE server item sends to the DDE client. Whenever the Lines property changes, an OnChange event occurs and then the new value is sent to the DDE client. If the DDE server item accepts poked data, Lines receives the data whenever the DDE client pokes data to this item. When Lines is changed by a DDE client poking data, an OnPokeData event occurs after the OnChange event. 

Usually Lines contains text, and setting Lines sets the Fmt property to CF_TEXT. However, Delphi C++Builder strings can contain non-text data. If Lines does not specify text data, Fmt must be changed to indicate the format of the data in an OnChange event handler. 

Lines corresponds to the Text property. Whenever the value of Lines or Text is changed, the other is updated so that the first line of Lines is always equal to Text

 

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