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

Home

 
4D v19
VP SET SELECTION

VP SET SELECTION 


 

VP SET SELECTION ( rangeObj ) 
Parameter Type   Description
rangeObj  Object in Range object of cells

The VP SET SELECTION command defines the specified cells as the selection and the first cell as the active cell. 

In rangeObj, pass a range object of cells to designate as the current selection. 

Example  

The following code:

 $currentSelection:=VP Combine ranges(VP Cells("myVPArea";3;2;1;6);VP Cells("myVPArea";5;7;1;7))
 VP SET SELECTION($currentSelection)

will set this selection:



See also 

VP ADD SELECTION
VP Get active cell
VP Get selection
VP RESET SELECTION
VP SET ACTIVE CELL
VP SHOW CELL

 
PROPERTIES 

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

 
PAGE CONTENTS 
 
HISTORY 

Created: 4D v17 R5

 
ARTICLE USAGE

4D View Pro Reference ( 4D v19)