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

PagePrev

Displays the previous 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

PagePrev()

Return Value

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

Related Functions

PageNext

Example

Buttons

Text

Page Previous

Command

PagePrev()

Comment

Display the previous page in the browse sequence

System Keyboard

Key Sequence

PagePrev

Command

PagePrev()

Comment

Display the previous page in the browse sequence

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

See Also

Page Functions