Cicode Programming Reference > Cicode Function Categories > Page Functions Introduction > PageForward

PageForward

If PageBack() is called, PageForward() will restore the previously displayed page in the window. PageForward requires PageBack to have been called and no other page display functions to have been called in between. Calling the display functions PageDisplay or PageGoto will remove the forward pages from the display stack.

Syntax

PageForward([iCount])

iCount:

Optional parameter to specify the number of pages to move forward. Default value is 1.

Return Value

CT_ERROR_NO_ERROR (0) on success. CT_ERROR_BAD_HANDLE (269) if current window handle does not correspond to a valid window. CT_ERROR_INVALID_ARG (274) if count is outside of allowable bounds.

Related Functions

PageBack, PageHistoryDspMenu, PageHistoryEmpty

See Also

Page Functions