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

TdxSpreadSheetPageSetupDialogForm Class

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

#Declaration

Delphi
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