Skip to content

TCustomConnection.AfterConnect

Event triggered after a connection is made.

Declaration

Source position: db.pas line 2275

published property AfterConnect: TNotifyEvent;

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

Name Description
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.