Skip to content

LoginDialogExProc

Login dialog callback.

Declaration

Source position: db.pas line 2508

var
  LoginDialogExProc:  = function(const ADatabaseName: string; var AUserName: string; 
            var APassword: string; UserNameReadOnly: Boolean) : Boolean = Nil;

Description

LoginDialogExProc is a procedural variable that can be set to handle login dialogs: if a database connection component needs to collect login data (typically when LoginPrompt is True), then if this callback is set it can e.g. be used to show a dialog used to fetch the data.

See also

Name Description
TCustomConnection.LoginPrompt Should the OnLogin be triggered.
TCustomConnection.OnLogin Event triggered when a login prompt is shown.