Skip to main content
Version: 20 R6 BETA

VP Get current sheet

VP Get current sheet ( vpAreaName : Text )

ParameterTypeDescription
vpAreaNameText->4D View Pro area form object name
Function resultInteger<-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:

third-sheet

The command returns 2:

$index:=VP Get current sheet("ViewProArea")

See also

VP SET CURRENT SHEET