Topic Path: Symbol Reference > Types > TIdStatusEvent Type
TIdStatusEvent Type

Signals a connection status event for the component.

TIdStatusEvent = procedure (ASender: TObject; const AStatus: TIdStatus; const AStatusText: string) of object;
Object generating the event.
The current connection status.
Format arguments used to construct the current status text message. 

TIdStatusEvent is an object procedure that represents the event handler triggered during a change in the connection status for an Indy component. 

ASender is the connection object generating the event. 

AStatus is the enumeration value representing the current status of the connection, and may contain one of the values indicated in TIdStatus

AStatusText contains arguments for the Format function used to construct the current status text message. 

The TIdStatusEvent event handler is triggered in protected methods that provide the values for AStatus and optional arguments to AStatusText.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.