Internet Direct (Indy) Version 9.0.1 Beta
TIdComponent.OnStatus
Represents the current connection status event handler.

property OnStatus: TIdStatusEvent;
Description
OnStatus is the TIdStatusEvent event handler triggered when the current connection state is changed. OnStatus is triggered by the DoStatus method, which provides the parameters used by the event handler.

axStatus is the TIdStatus value for the current connection.

aaArgs is the optional arguments for the Format function, that will be used to construct the text message that represents the current connection state.