4D View v14PV SELECT RANGES LIST |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D View v14
PV SELECT RANGES LIST
|
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 | |||||
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 with the PV Selection action constants:
Constant | Type | Value | Comment |
pv selection add | Longint | 1 | The new selection is added to the existing selection. |
pv selection reduce | Longint | 2 | The selection is removed from the existing selection. |
pv selection set | Longint | 0 | The new selection replaces the existing selection. |
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)
Product: 4D View
Theme: PV Selection
Number:
15944
Created: 4D View 6.8
4D View Language ( 4D View v11.4)
4D View Language ( 4D View v12)
4D View Language ( 4D v13)
4D View Language ( 4D View v14 R2)
4D View Language ( 4D View v14)
4D View Language ( 4D View v14 R3)
4D View Language ( 4D View v14 R4)