PV SELECT RANGES LIST
version 6.8
PV SELECT RANGES LIST (area; left; top; right; bottom; action)
Parameter | Type | Description | |
area | Longint | 4D View area | |
left | Array | Column numbers array of left cells | |
top | Array | Row numbers array of top cells | |
right | Array | Column numbers array of right cells | |
bottom | Array | Row numbers array of bottom cells | |
action | Integer | Select action |
Description
This command is similar to PV SELECT RANGE, except that it applies to several cell ranges whose coordinates are saved in the left, top, right, and bottom arrays.
action is defined in PV Selection action constants (for more information, refer to the description of the PV SELECT RANGE command).
Example
Provoke the selection of five ranges of increasing sizes using programming.
C_INTEGER($Index) `Loop index
C_INTEGER($Number) `Number of ranges
$Number:=5 `The group of five in the range
ARRAY LONGINT($Left;5)
ARRAY LONGINT($Top;5)
ARRAY LONGINT($Right;5)
ARRAY LONGINT($Bottom;5)
`Initialization
For ($Index;1;$Number)
$Left{$Index}:=$Index*3 `Left limits
$Top{$Index}:=$Index*6 `Top limits
$Right{$Index}:=$Index*4 `Right limits
$Bottom{$Index}:=$Index*7 `Bottom limits
End for
PV SELECT RANGES LIST (Area;$Left;$Top;$Right;$Bottom;pv selection add)
See Also
Constants
PV Selection action theme.