This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com
Home
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.
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:
VP ADD SELECTION VP Get active cell VP Get selection VP RESET SELECTION VP SET ACTIVE CELL VP SHOW CELL
Product: 4D Theme: 4D View Pro Language Number: 905258
Created: 4D v17 R5
4D View Pro Reference ( 4D v19)