[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Login event handler
Source position: db.pas line 1940
type TLoginEvent = procedure( |
Sender: TObject; |
Username: string; |
Password: string |
) of object; |
Sender |
|
TCustomConnection that is attempting a login |
Username |
|
Username used to log in |
Password |
|
Password used to log in. |
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.
|
Event triggered when a login prompt is shown. |