Navigation: Templates > Guide to all Templates > Additional Libraries and Templates > Crystal8 Class >====== HasPrintButton (display print button on report preview) ====== | |
HasPrintButton (| hasprintbutton |)
HasPrintButton Allows a print button on the report preview window.
Hasprintbutton An integer constant, variable, EQUATE, or expression that specifies whether a print button will appear on the report's preview window. A value of one (1) displays the print button; a value of zero (0) does not display the print button.
The HasPrintButton method is used to optionally display a print button on the report preview window. This method returns a BYTE representing the value of hasprintbutton.
Return Data Type: BYTE
Example:
oCrystal8.HasPrintButton(1)