VP Get current sheet
VP Get current sheet ( vpAreaName : Text )
Parameter | Type | Description | |
---|---|---|---|
vpAreaName | Text | -> | 4D View Pro area form object name |
Function result | Integer | <- | Index of the current sheet |
Description
The VP Get current sheet
command returns the index of the current sheet in vpAreaName. The current sheet is the selected sheet in the document.
In vpAreaName, pass the name of the 4D View Pro area.
Indexing starts at 0.
Example
When the third sheet is selected:
The command returns 2:
$index:=VP Get current sheet("ViewProArea")