OnConnect Event

Top  Previous  Next

Occurs after a successfully connection with the client is established.

 

Visual Basic Declaration

 

OnConnect(Sender as Variant, Cancel as Boolean)

 

Delphi Declaration

 

procedure OnConnect(Sender: TObject; var Cancel: Boolean)

 

Parameters

 

Sender: The LPD object that raises the event.

Cancel: Controls the connection with the client, if set to FALSE the connection is closed.

 

See also OnDisconnect event.