Topic Path: Symbol Reference > Classes > TIdConnectionIntercept Class > TIdConnectionIntercept Events > OnDisconnect Event
TIdConnectionIntercept.OnDisconnect Event

Specifies the event handler for disconnect notifications.

property OnDisconnect: TIdInterceptNotifyEvent;

OnDisconnect is a TIdInterceptNotifyEvent property that represents the event handler for disconnect notifications received by the connection intercept. 

Assign a procedure to OnDisconnect to perform special processing when a disconnect notification is received in the Disconnect method. Applications must assign an OnDisconnect event handler in order to respond to the notification. 

Use OnConnect to respond to notifications from Connect.

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