TdxPageSetupDialog.ButtonsEnabled Property
Specifies which buttons within the Page Setup dialog window are enabled.
Declaration
property ButtonsEnabled: TdxPageSetupDlgButtons read; write; default [psbStyleOptions, psbPreview, psbPrint];
Property Value
| Type |
|---|
| TdxPageSetupDlgButtons |
Remarks
Use the ButtonsEnabled property to specify which buttons are accessible and can be pressed. Possible values include:
| Value | Description |
|---|---|
| psbHelp | Specifies whether the Help button is enabled. |
| psbStyleOptions | Specifies whether the Options… button is enabled. This button is enabled only for custom paint styles for which you implemented a custom Print Style Options dialog. Refer to the How to Create Custom Print Styles topic to learn how to add these styles and implement dialogs for them. |
| psbPreview | Specifies whether the Print Preview… button is enabled. |
| psbPrint | Specifies whether the Print… button is enabled. |
The default value of this property is [psbStyleOptions, psbPreview, psbPrint].
See Also