The VP Get sheet options command returns an object containing the current sheet options of the vpAreaName area.
Pass the name of the 4D View Pro area in vpAreaName. If you pass a name that does not exist, an error is returned.
In the optional sheet parameter, you can designate a specific spreadsheet (counting begins at 0). If omitted, the current spreadsheet is used by default. You can explicitly select the current spreadsheet with the following constant:
Constant |
Value |
Comment |
vk current sheet |
-1 |
Designates current sheet of the 4D View Pro area (default) |
Returned object
The command returns an object containing the current values for all available sheet options. An option value may have been modified by the user or by the VP SET SHEET OPTIONS command.
To view the full list of the options, see 4D View Pro Sheet Options.
$options:=VP Get sheet options("ViewProArea")
If($options.colHeaderVisible)
...
End if