TRVCamSender.OnSendCmd

Top  Previous  Next

Occurs when a command is sent.

type
  TRVCmdWriteEvent = procedure(Sender: TObject; SessionKey: TRVSessionKey;
    Cmd: TRVCmd; nGUIDFrom, nGUIDTo, nGUIDGroup: TGUID) of object;
property OnSendCmd: TRVCmdWriteEvent;

This event is called only if ShowCmd=True.

Commands are sent by SendCmd method (and other methods that calls SendCmd internally to send special commands).

This event can be used for debugging purposes.

This event is called in a thread context, so do not update user interface (or make any other operation that requires a context of the main process) in this event.