TdxSpreadSheetPasswordDialogForm.ExecuteConfirmation(TComponent,TdxCustomSpreadSheet,string) Method
Invokes the Confirm Password dialog for a specified spreadsheet control.
Declaration
class function ExecuteConfirmation(AOwner: TComponent; ASpreadSheet: TdxCustomSpreadSheet; const APassword: string): Boolean; overload;
Parameters
Name | Type | Description |
---|---|---|
AOwner | TComponent | The parent form of the |
ASpreadSheet | TdxCustomSpreadSheet | The target spreadsheet control. |
APassword | string | Returns the entered password. |
Returns
Type | Description |
---|---|
Boolean |
|
Remarks
The AOwner
parameter specifies the parent form of a spreadsheet control passed as the ASpreadSheet
parameter. If the Confirm Password dialog is closed with a click on the OK button or the Enter keystroke, the ExecuteConfirmation
function returns True
as a result and the dialog field’s content as the APassword
parameter. Otherwise, the function returns False
.
See Also