TBasedxPrintStyle.HasStyleOptionsDlg Method
Checks whether a custom print style dialog can be displayed.
Declaration
function HasStyleOptionsDlg: Boolean; virtual;
Returns
Type |
---|
Boolean |
Remarks
If an appropriate dialog form was implemented in the TBasedxPrintStyle‘s descendent (see the ShowStyleOptionsDlg method), the overridden method must return True. This enables the Page Setup dialog’s Options… button, so that end-users can use it to open a custom print style dialog (the button’s handler dispatches the call to the ShowStyleOptionsDlg method).
To learn how to implement the HasStyleOptionsDlg and ShowStyleOptionsDlg methods in a custom print style, refer to the How to Create Custom Print Styles help topic.
See Also