Skip to main content
Version: Next

VP SET CURRENT SHEET

VP SET CURRENT SHEET ( vpAreaName : Text ; sheet : Integer)

ParameterTypeDescription
vpAreaNameText->4D View Pro area form object name
sheetInteger<-Index of the new current sheet

Description

The VP SET CURRENT SHEET command sets 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.

In sheet, pass the index of the sheet to be set as current sheet. If the index passed is inferior to 0 or exceeds the number of sheets, the command does nothing.

Indexing starts at 0.

Example

The document's current sheet is the first sheet:

first-sheet-selected

Set the current sheet to the third sheet:

VP SET CURRENT SHEET("ViewProArea";2)

See also

VP Get current sheet