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

Home

 
4D v19
VP SET ACTIVE CELL

VP SET ACTIVE CELL 


 

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

The VP SET ACTIVE CELL command defines a specified cell as active.

In rangeObj, pass a range containing a single cell as an object. See VP Cell. If rangeObj is not a cell range or contains multiple ranges, only the first cell of the first range is used. 

Example  

The following code: 

 $activeCell:=VP Cell("myVPArea";3;4)
 VP SET ACTIVE CELL($activeCell)

will set the cell in column D, row 5 as the active cell:



See also 

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

 
PROPERTIES 

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

 
PAGE CONTENTS 
 
HISTORY 

Created: 4D v17 R5

 
ARTICLE USAGE

4D View Pro Reference ( 4D v19)