DestroyAction Event
Fires when an object destruction request is received.
Syntax
type TDestroyActionEvent = procedure ( Sender: TObject; ConnectionId: Int64; const UniqueIdentifier: String; ObjectType: Integer; ObjectState: Integer; var Remove: Boolean ) of Object;
property OnDestroyAction: TDestroyActionEvent read FOnDestroyAction write FOnDestroyAction;
Remarks
The component fires this event when it receives a request from the client to destroy and existing object. Set Remove to true to proceed with the destruction, or to false to reject the request.