Unit 'DB' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#fcl]

TLoginEvent

Login event handler.

Declaration

Source position: db.pas line 2215

type TLoginEvent = procedure(

  Sender: TObject;

  Username: string;

  Password: string

) of object;

Arguments

Sender

  

TCustomConnection that is attempting a login.

Username

  

Username used to log in.

Password

  

Password used to log in.

Description

TLoginEvent is the prototype for the TCustomConnection.OnLogin event handler. It gets passed the TCustomConnection instance that is trying to login, and the initial username and password.

See also

TCustomConnection.OnLogin

  

Event triggered when a login prompt is shown.


Documentation generated on: Jul 24 2023