FMX.Presentation.Messages.TDispatchMessageWithValue

From RAD Studio API Documentation
Jump to: navigation, search

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 generic type.

TDispatchMessageWithValue is used in methods such as SendMessage and SendMessageWithResult.

See Also