| **Navigation:**  [[templates.htm|Templates]] > Guide to all Templates > [[additional libraries and templates.htm|Additional Libraries and Templates]] > Crystal8 Class >====== HasRefreshButton (display refresh button on report preview) ====== | [[hasprogresscontrols display progress controls on report preview .htm|{{btn_prev_n.gif|Previous page}}]][[additional libraries and templates.htm|{{btn_home_n.gif|Return to chapter overview}}]][[hassearchbutton display search button on report preview .htm|{{btn_next_n.gif|Next page}}]] | | || **HasRefreshButton** (| //hasrefreshbutton// |) ** ** **HasRefreshButton**** Allows a refresh button on the report preview window.** //hasrefreshbutton// An integer constant, variable, EQUATE, or expression that specifies whether a refresh button will appear on the report's preview window. A value of one (1) displays the refresh button; a value of zero (0) does not display the refresh button. The HasRefreshButton method is used to optionally display a refresh button on the report preview window. This method returns a BYTE representing the value of //hasrefreshbutton//. **Return Data Type:** BYTE **Example:** **oCrystal8.HasRefreshButton(1)**