FMX.Presentation.Messages.TMessageSender.SendMessage

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SendMessage(const AMessageID: TMessageID); overload;
procedure SendMessage<T>(const AMessageID: TMessageID; const AValue: T); overload;

C++

void __fastcall SendMessage(const System::Word AMessageID)/* overload */;
template<typename T> void __fastcall SendMessage(const System::Word AMessageID, const T AValue)/* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
public
FMX.Presentation.Messages.pas
FMX.Presentation.Messages.hpp
FMX.Presentation.Messages TMessageSender

Description

Sends a message to an object.

The SendMessage method first checks that TMessageSender has a receiver and that the TMessageSender can send messages; then:

See Also