OnPageChanged - cDRPreview¶
Method Type¶
Procedure (event)
Arguments¶
| Argument | Description |
|---|---|
iPage |
Holds the current report page number. |
Description¶
This event is sent by an object from the cDRReport class and is used to display the current page number in the toolbar that is also automatically created by the cDRPreview class.
Sample¶
Object oView is a cDRPreview
Procedure OnPageChanged Integer iPage
Set psText of (oCurrentPage(oDRToolBar(oCommandBars))) ;
to (String(iPage))
End_Procedure
End_Object