4D View v14

PV SELECT RANGES LIST

Home

 
4D View v14
PV SELECT RANGES LIST

PV SELECT RANGES LIST 


 

PV SELECT RANGES LIST ( area ; left ; top ; right ; bottom ; action ) 
Parameter Type   Description
area  Longint in 4D View area
left  Array in Column numbers array of left cells
top  Array in Row numbers array of top cells
right  Array in Column numbers array of right cells
bottom  Array in Row numbers array of bottom cells
action  Integer in 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.

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)

 
PROPERTIES 

Product: 4D View
Theme: PV Selection
Number: 15944

 
HISTORY 

Created: 4D View 6.8

 
SEE ALSO 

PV GET SELECTED RANGES LIST

 
ARTICLE USAGE

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)