dxSpreadSheetPasswordDialogClass Variable
Specifies the form class of the “Password Protection” and “Confirm Password” dialogs that spreadsheet controls invoke.
Declaration
var dxSpreadSheetPasswordDialogClass: TdxSpreadSheetPasswordDialogFormClass = TdxSpreadSheetPasswordDialogForm;
Variable Value
Type |
---|
TdxSpreadSheetPasswordDialogFormClass |
Remarks
Assign a reference to a TdxSpreadSheetPasswordDialogForm class descendant to this global variable to replace the built-in “Password Protection” and “Confirm Password” dialogs with custom implementations. This is useful if you need to adjust the default dialog layout or customize available UI elements.
The ShowPasswordDialog global function calls the constructor of the active “Password Protection/Confirm Password” dialog form via the dxSpreadSheetPasswordDialogClass global variable.
See Also