Topic Path: Symbol Reference > Classes > TIdTCPConnection Class > TIdTCPConnection Properties > OnDisconnected Property
ContentsIndexHome
PreviousUpNext
TIdTCPConnection.OnDisconnected Property

Event handler signalled when disconnecting the peer connection.

property OnDisconnected: TIdNotifyEvent;

OnDisconnected is a TNotifyEvent property that represents the event handler signalled when disconnecting the peer connection. OnDisconnected is triggered when the Disconnect method is used to close the connection. 

An application must assign a procedure to the OnDisconnected event handler to allow responding to the event notification. 

Use OnStatus to respond to changes in the connection state. 

Use OnWorkBegin, OnWork, and OnWorkEnd to respond to read or write operations on the connection.

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