Vcl.DdeMan.TDdeServerItem.Lines

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Lines: TStrings read FLines write SetLines;

C++

__property System::Classes::TStrings* Lines = {read=FLines, write=SetLines};

Properties

Type Visibility Source Unit Parent
property published
Vcl.DdeMan.pas
Vcl.DdeMan.hpp
Vcl.DdeMan TDdeServerItem

Description

Contains the data to exchange in a DDE conversation.

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.

See Also