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

PageNext

Displays the next page as specified in the project.

You cannot call this function from the Exit command field (see Page Properties) or a Cicode Object.

Note: This function is not supported in the server process in a multiprocessor environment. Calling this function from the server process results in a hardware alarm being raised.

Syntax

PageNext()

Return Value

0 (zero) if the page is successfully displayed, otherwise an error is returned.

Related Functions

PagePrev

Example

Buttons

Text

Page Next

Command

PageNext()

Comment

Display the next page in the browse sequence

System Keyboard

Key Sequence

PageNext

Command

PageNext()

Comment

Display the next page in the browse sequence

/* If graphics page 1 is currently displayed, and the graphics 
page 1 has Next Page Name=10. */
PageNext();
! Displays graphics page 10.

See Also

Page Functions