Internet Direct (Indy) Version 9.0.1 Beta
TIdCommandHandler.OnCommand
Event handler that performs an action associated with a command handler.

property OnCommand: TIdCommandEvent;
Description
OnCommand is a TIdCommandEvent property that represents the event handler signalled when the associated TIdCommand object instance is executed for the Command Handler. Applications must a procedure to the event handler that implements the functionality to be performed when the event handler is signalled for execution.