Data.DB.LoginDialogProc

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

LoginDialogProc: function (const ADatabaseName: string; var AUserName, APassword: string): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall (*LoginDialogProc)(const System::UnicodeString ADatabaseName, System::UnicodeString &AUserName, System::UnicodeString &APassword);

Properties

Type Visibility Source Unit Parent
variable public
Data.DB.pas
Data.DB.hpp
Data.DB Data.DB

Description

Set this variable to specify a method that will provide login information.

Set the LoginDialogProc variable to specify a method that will provide login information.

For example, the Vcl.DBLogDlg unit sets this variable to a method that displays a dialog box to prompt for user name and password.

See Also