[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Event triggered before a connection is made.
Source position: db.pas line 1982
published property TCustomConnection.BeforeConnect : TNotifyEvent |
BeforeConnect is called before a connection is attempted in TCustomConnection.Open. It can be used to set connection parameters, or to abort the establishing of the connection: if an exception is raised during this event, the connection attempt is aborted.
|
Makes the connection to the server |
|
|
Event triggered after a connection is made. |
|
|
Event triggered when a login prompt is shown. |