Internet Direct (Indy)
Home
PreviousUpNext
TIdStatusEvent Type

Signals a connection status event for the component.

Pascal
TIdStatusEvent = procedure (ASender: TObject; const AStatus: TIdStatus; const AStatusText: string) of object;
Parameters 
Description 
ASender 
Object generating the event.
 
AStatus 
The current connection status.
 
AStatusText 
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.