[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'DB' (#fcl)

# TCustomConnection.AfterConnect

Event triggered after a connection is made.

## Declaration

Source position: db.pas line 2039

`published property TCustomConnection.AfterConnect : TNotifyEvent read FAfterConnect write SetAfterConnect;`

## Description

AfterConnect is called after a connection is successfully established in TCustomConnection.Open. It can be used to open datasets, or indicate a connection status change.

## See also

TCustomConnection.Open |  | Makes the connection to the server
TCustomConnection.BeforeConnect |  | Event triggered before a connection is made.
TCustomConnection.OnLogin |  | Event triggered when a login prompt is shown.

Documentation generated on: May 14 2021