HasCancelButton (display cancel button on report preview)

Top  Previous  Next

 

HasCancelButton (| hascancelbutton |)

 

HasCancelButton Allow a cancel button on the report preview window.

hascancelbutton An integer constant, variable, EQUATE, or expression that specifies whether a cancel button will appear on the report’s preview window. A value of one (1) displays the cancel button; a value of zero (0) does not display the cancel button.

The HasCancelButton method is used to optionally display a cancel button on the report preview window. This method returns a BYTE representing the value of hascancelbutton.

Return Data Type: BYTE

 

Example:

oCrystal8.HasCancelButton(1)