Internet Direct (Indy)
Home
PreviousUpNext
TIdConnectionIntercept.OnDisconnect Event

Specifies the event handler for disconnect notifications.

Pascal
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.

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.