RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DB.PasswordDialog Variable

Displays a dialog box that prompts the user for the password of a local password-protected table.

Pascal
PasswordDialog: function (const ASession: IDBSession): Boolean;
C++
function (const ASession: IDBSession): Boolean PasswordDialog;

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.
 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!