FMX.Presentation.Messages.TDispatchMessageWithValue
Delphi
TDispatchMessageWithValue<T> = record
MsgID: TMessageID;
Value: T;
public
constructor Create(const AMessageID: TMessageID; const AValue: T);
end;
C++
template<typename T> struct DECLSPEC_DRECORD TDispatchMessageWithValue__1
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
record struct |
public | FMX.Presentation.Messages.pas FMX.Presentation.Messages.hpp |
FMX.Presentation.Messages | FMX.Presentation.Messages |
Description
Record type that represents a message with value for TMessageSender.
TDispatchMessageWithValue contains the following fields:
Item | Description |
---|---|
MsgID
|
ID of the message with type TMessageID. |
Value
|
Value of the message. Value has the T generic type.
|
TDispatchMessageWithValue is used in the SendMessage and SendMessageWithResult methods.