Data.DB.PasswordDialog
[–] Properties | |
---|---|
Type: variable | |
Visibility: public | |
Source: Data.DB.pas Data.DB.hpp
| |
Unit: Data.DB | |
Parent: Data.DB |
Delphi
PasswordDialog: function (const ASession: IDBSession): Boolean;
C++
extern DELPHI_PACKAGE bool __fastcall (*PasswordDialog)(const _di_IDBSession ASession);
Description
Displays a dialog box that prompts the user for the password of a local password-protected table.
Use PasswordDialog to allow the user to enter a password for a password-protected Paradox or dBase table.
ASession is the interface of a component that represents the session onto which the user logs in. Typically, this is the interface of a TSession component.
If the user clicks OK in the dialog box, PasswordDialog returns true. Otherwise it returns false.
Note: When an application opens a Paradox or dBASE table that requires a password, the user is prompted to enter a password unless the Session already has a valid password for that table.