This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v19
VP Combine ranges

VP Combine ranges 


 

VP Combine ranges ( rangeObj ; otherRangeObj {; otherRangeObj2 ; ... ; otherRangeObjN} ) -> Function result 
Parameter Type   Description
rangeObj  Object in Range object
otherRangeObj  Object in Range object
Function result  Object in Object containing a combined range

The VP Combine ranges command returns a new range object that incorporates two or more existing range objects. All of the ranges must be from the same 4D View Pro area.

In rangeObj, pass the first range object.

In otherRangeObj, pass another range object(s) to combine with rangeObj.

Note: The command incorporates rangeObj and otherRangeObj objects by reference.

Example  

You want to combine cell, column, and row range objects in a new, distinct range object:

 $cell:=VP Cell("ViewProArea";2;4) // C5
 $column:=VP Column("ViewProArea";3) // column D
 $row:=VP Row("ViewProArea";9) // row 10
 
 $combine:=VP Combine ranges($cell;$column;$row)



See also 

4D View Pro Range Object Properties
VP All
VP Cell
VP Cells
VP Column
VP Name
VP Row

 
PROPERTIES 

Product: 4D
Theme: 4D View Pro Language
Number: 9540

 
PAGE CONTENTS 
 
HISTORY 

Created: 4D v17 R4

 
ARTICLE USAGE

4D View Pro Reference ( 4D v19)