version 6.8
PV GOTO NEXT CELL (area; direction)
Parameter | Type | Description | |
area | Longint | 4D View area | |
direction | Integer | Direction constant |
Description
When the PV GOTO NEXT CELL command is called, the next cell in the specified direction parameter becomes the current cell of the area. If the previous current cell was in entry mode, its contents are validated.
The direction axis is one of four values of the PV Directions constant theme: right, bottom, left, or top.
Example
Imagine a spreadsheet where we have to put the cell corresponding to the "Total Amount" of a bill in bold type:
C_LONGINT(Column;Row) `Current cell coordinates PV FIND ALL (Area;"Total Amount";1;0) `Find cell containing "Total Amount" PV GOTO NEXT CELL (Area; pv to the right) `Cell containing the value PV GET CURRENT CELL (Area;$Column;$Row) `Get coordinates `Make selected cell in bold PV SET CELL PROPERTY (Area;$Column;$Row;pv style text bold;pv value on)
See Also
PV GET CURRENT CELL, PV GOTO CELL.
Constants
PV Directions theme.