Vcl.DdeMan.TDdeServerItem.Text

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Text: string read GetText write SetText;

C++

__property System::UnicodeString Text = {read=GetText, write=SetText};

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 Text to the data the DDE server item sends to the DDE client. Whenever the Text 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, Text receives the data whenever the DDE client pokes data to this item. When Text is changed by a DDE client poking data, an OnPokeData event occurs after the OnChange event.

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

Text corresponds to the Lines 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