VP ADD SHEET
VP ADD SHEET ( vpAreaName : Text )
VP ADD SHEET ( vpAreaName : Text ; index : Integer )
VP ADD SHEET ( vpAreaName : Text ; sheet : Integer ; name : Text )
Parameter | Type | Description | |
---|---|---|---|
vpAreaName | Text | -> | 4D View Pro area form object name |
sheet | Integer | -> | Index of the new sheet |
name | Text | -> | Sheet name |
Description
The VP ADD SHEET
command inserts a sheet in the document loaded in vpAreaName.
In vpAreaName, pass the name of the 4D View Pro area.
In sheet, you can pass an index for the new sheet. If the passed index is inferior to or equal to 0, the command inserts the new sheet at the beginning. If index exceeds the number of sheets, the command inserts the new sheet after the existing ones.
Indexing starts at 0.
In name, you can pass a name for the new sheet. The new name cannot contain the following characters: *, :, [, ], ?,\,/
Example
The document currently has 3 sheets:
To insert a sheet at the third position (index 2) and name it "March":
VP ADD SHEET("ViewProArea";2;"March")