Sign in Join
FPDoc Onlineexperiment

LoginDialogExProc variable

In unit DB

Login dialog callback.

Declaration

pascal
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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.