Skip to main content

TdxSpreadSheetPageSetupDialogForm Class

The form class that implements the “Page Setup” dialog in spreadsheet controls.

Declaration

TdxSpreadSheetPageSetupDialogForm = class(
    TdxSpreadSheetReferenceEditDialogForm
)

Remarks

This multi-page dialog includes UI elements required to customize all settings that define how to print a worksheet via a document-based report link in the component printer.

The MorePageMargins, MorePaperSizes, and PrintTitles end-user commands call the ShowPageSetupDialog global procedure to invoke the “Page Setup” dialog with the active “Margins”, “Page”, or “Sheet” page, respectively.

If you need to adjust or customize the dialog’s UI elements, derive a custom dialog form from the TdxSpreadSheetPageSetupDialogForm class. Assign a reference to the custom “Page Setup” dialog form class to the dxSpreadSheetPageSetupDialogClass global variable to replace the standard dialog.

See Also