Skip to main content

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 control.

ASpreadSheet TdxCustomSpreadSheet

The target spreadsheet control.

APassword string

Returns the entered password.

Returns

Type Description
Boolean

True if a user clicks the OK button or presses the Enter key to close the password dialog; otherwise, False.

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.

The Confirm Password Dialog

See Also