Skip to content

OnPageChanged - cDRToolPanelPreview

Method Type

Procedure

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 cDRToolPanelPreview class.

Sample

Object oView is a cDRToolPanelPreview
    Procedure OnPageChanged Integer iPage
        Set psText of (oCurrentPage (oDRToolBar (oCommandBars))) ;
            to (String (iPage))
    End_Procedure
End_Object