Sign in Join
FPDoc Onlineexperiment

TLazMessaging.SendMessage procedure

Member of TLazMessagingpublicIn unit LazDeviceApis

Sends a message to the target specified on it.

Declaration

pascal
procedure SendMessage(AMsg: TLazDeviceMessage)

Description

The message to be sent should be created with the method CreateMessage from this same class and later released with FreeMessage. The same message can be sent multiple times, but ideally it should not be edited after sending the first time to avoid confusion when obtaining the message object back in the status callback.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.