TdxPDFViewerPasswordDialogForm.Execute(TComponent,TcxLookAndFeel,string) Method
In This Article
Invokes the Enter Password dialog for a specified parent component or control.
#Declaration
Delphi
class function Execute(AOwner: TComponent; ALookAndFeel: TcxLookAndFeel; out APassword: string): Boolean; overload;
#Parameters
Name | Type | Description |
---|---|---|
AOwner | TComponent | The parent form of the target PDF Viewer control. |
ALook |
Tcx |
The source of look & feel settings for the Enter Password dialog. |
APassword | string | The entered password. |
#Returns
Type | Description |
---|---|
Boolean | The function returns |
#Remarks
The AOwner
parameter specifies the parent form of a PDF Viewer control. The ALookAndFeel
parameter accepts source look & feel settings.
If the Enter Password dialog is closed with a click on the OK button or the Enter keystroke, the Execute
function returns True
as a result and the dialog field’s content as the APassword
parameter. Otherwise, the function returns False
.
See Also