Vcl.DdeMan.TDdeServerItem.OnChange
Delphi
property OnChange: TNotifyEvent read FOnChange write FOnChange;
C++
__property System::Classes::TNotifyEvent OnChange = {read=FOnChange, write=FOnChange};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | published | Vcl.DdeMan.pas Vcl.DdeMan.hpp |
Vcl.DdeMan | TDdeServerItem |
Description
Occurs when the Lines property changes, before the changes have been sent to the DDE client.
Write an OnChange event handler to take specific action when the DDE server item is about to update the DDE client. The new value for the DDE client item can be found by reading the Lines or Text property.
If the value of Lines does not contain text data, an OnChange event handler must be assigned to change the value of Fmt. OnChange is called after Fmt gets set to CF_TEXT by setting the Lines property, but before the data gets sent to the client.