Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

dxSpreadSheetProtectWorkbookDialogClass Variable

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

#Declaration

Delphi
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