TLoginEvent¶
Login event handler.
Declaration¶
Source position: db.pas line 2230
type
TLoginEvent = procedure(Sender: TObject; Username: string;
Password: string) of object;Arguments¶
| Name | Description |
|---|---|
| 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¶
| Name | Description |
|---|---|
| TCustomConnection.OnLogin | Event triggered when a login prompt is shown. |