TBasedxPrintStyle.ShowStyleOptionsDlg Method
Opens a custom print style dialog.
Declaration
function ShowStyleOptionsDlg: Boolean; virtual;
Returns
Type |
---|
Boolean |
Remarks
In the TBasedxPrintStyle‘s descendent, the ShowStyleOptionsDlg method is intended for displaying a custom print style dialog.
A custom print style dialog can be open from within the Page Setup dialog (button Options…). The ShowStyleOptionsDlg method is called when an end-user clicks the Options… button.
In built-in print styles – TBasedxReportLink and TdxPSPrintStyle – the button is disabled. To enable it, return True in the overridden HasStyleOptionsDlg method.
The ShowStyleOptionsDlg method must return True to update print style settings; otherwise, changes will be discarded.
To learn how to implement the ShowStyleOptionsDlg and HasStyleOptionsDlg methods in a custom print style, refer to the How to Create Custom Print Styles help topic.