Internet Direct (Indy)
Home
PreviousUpNext
TIdTelnet.OnDisconnect Property

Specifies the event handler for disconnection requests.

Pascal
property OnDisconnect: TIdNotifyEvent;

OnDisconnect is a TNotifyEvent property representing the event handler used to respond to client disconnection requests. OnDisconnect is triggered from the Disconnect method after terminating the TelnetThread and closing the socket connection. 

Applications should assign a procedure to the OnDisconnect event handler to perform processing required after closing the socket connection.

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.