Skip to main content

TdxSpreadSheetCellStyleEditDialogForm Class

The form class that implements “Format Cells“ dialogs for spreadsheet cells and style-based conditional formatting rules.

Declaration

TdxSpreadSheetCellStyleEditDialogForm = class(
    TdxForm
)

Remarks

This multi-page dialog includes UI elements required to edit all customizable style settings both for worksheet cells and style-based conditional formatting rules. The “Format Cells” dialog does not display the Protection page when invoked to edit a cell style for a conditional formatting rule.

A click on the “Format Cells…” item in a worksheet context menu calls the ShowFormatCellsDialog procedure to invoke the “Format Cells” dialog. A click on the “Format…” button in the “Conditional Formatting Rule“ dialog invokes the “Format Cells” dialog to define which style a conditional formatting rule applies to affected cells.

If you need to adjust or customize the dialog’s UI elements, derive a custom dialog from the TdxSpreadSheetCellStyleEditDialogForm class. Assign a reference to the custom “Format Cells” dialog form class to the dxSpreadSheetCellStyleEditDialogClass global variable to replace the standard dialog available for worksheet cell style customization and the “Conditional Formatting Rule” dialog.

See Also