VP RESET SELECTION
VP RESET SELECTION ( vpAreaName : Text { ; sheet : Integer } )
Parameter | Type | Description | |
---|---|---|---|
vpAreaName | Text | -> | 4D View Pro area form object name |
sheet | Integer | -> | Sheet index (current sheet if omitted) |
Description
The VP RESET SELECTION
command deselects all cells, resulting in no current selection or visible active cell.
A default active cell (cell A1) remains defined for 4D View Pro commands.
In vpAreaName, pass the name of the 4D View Pro area. If you pass a name that does not exist, an error is returned.
In the optional sheet parameter, you can designate a specific spreadsheet where the range will be defined (counting begins at 0). If omitted, the current spreadsheet is used by default. You can explicitly select the current spreadsheet with the following constant:
vk current sheet
Example
You want to deselect all cells (the active cell and any selected cells):
VP RESET SELECTION("myVPArea")
See also
VP ADD SELECTION
VP Get active cell
VP Get selection
VP SET ACTIVE CELL
VP SET SELECTION
VP SHOW CELL