Skip to main content

dxSpreadSheetProtectWorkbookDialogClass Variable

Specifies the form class of the “Protect Structure” dialog that spreadsheet controls invoke.

Declaration

var dxSpreadSheetProtectWorkbookDialogClass: TdxSpreadSheetProtectWorkbookDialogFormClass = TdxSpreadSheetProtectWorkbookDialogForm;

Variable Value

Type
TdxSpreadSheetProtectWorkbookDialogFormClass

Remarks

Assign a reference to a TdxSpreadSheetProtectWorkbookDialogForm class descendant to this global variable to replace the built-in “Protect Structure” dialog with a custom implementation. This is useful if you need to adjust the default dialog layout or customize available UI elements.

The ShowProtectWorkbookDialog global procedure calls the constructor of the active “Protect Structure” dialog form via the dxSpreadSheetProtectWorkbookDialogClass global variable.

See Also