TIdStatusEvent is an event type triggered during a change in the connection status for the component. TIdStatusEvent is triggered by the DoStatus method.
axStatus is the TIdStatus value for the current connection, and can contain one of the following values:
- hsResolving - A host name is being resolved for an IP address
- hsConnecting - A connection is being opened
- hsConnected - A connection has been made
- hsDisconnecting - The connection is being closed
- hsDisconnected - The connection has been closed
- hsText - The connection has generated an informational message
axStatusText is the suggested text for displaying the component connection status.