PagePrev
- Last UpdatedJul 18, 2023
- 1 minute read
Displays the previous page as specified in the project.
You cannot call this function from the Exit command field (see Edit the Properties for a Page) 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
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.