Topic Path: Symbol Reference > Classes > TIdConnectionIntercept Class > TIdConnectionIntercept Events > OnConnect Event
ContentsIndexHome
PreviousUpNext
TIdConnectionIntercept.OnConnect Event

Specifies the event handler for connection notifications.

property OnConnect: TIdInterceptNotifyEvent;

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

Assign a procedure to OnConnect to perform special processing when a connection notification is received in the Connect method. Applications must assign an OnConnect event handler in order to respond to connection notifications. 

Use OnDisconnect to respond to notifications from Disconnect.

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