Skip to content

TCustomConnection.OnLogin

Event triggered when a login prompt is shown.

Declaration

Source position: db.pas line 2279

published property OnLogin: TLoginEvent;

Description

OnLogin is triggered when the connection needs a login prompt during the call: it is triggered when the LoginPrompt property is True, after the TCustomConnection.BeforeConnect event, but before the connection is actually established.

See also

Name Description
TCustomConnection.BeforeConnect Event triggered before a connection is made.
TCustomConnection.LoginPrompt Should the OnLogin be triggered.
TCustomConnection.Open Makes the connection to the server.