Skip to main content
Version: 20 R7 BETA

VP Get frozen panes

VP Get frozen panes ( vpAreaName : Text { ; sheet : Integer } ) : Object

ParameterTypeDescription
vpAreaNameText->4D View Pro area form object name
sheetInteger->Sheet index (current sheet if omitted)
ResultObject<-Object containing frozen column and row information

Description

The VP Get frozen panes command returns an object with information about the frozen columns and rows in vpAreaName.

In vpAreaName, pass the name of the 4D View Pro area. If you pass a name that does not exist, an error is returned.

In the optional sheet parameter, you can designate a specific spreadsheet where the range will be defined (counting begins at 0). If omitted or if you pass vk current sheet, the current spreadsheet is used.

Returned object

The command returns an object describing the frozen columns and rows. This object can contain the following properties:

PropertyTypeDescription
columnCountIntegerThe number of frozen columns on the left of the sheet
trailingColumnCountIntegerThe number of frozen columns on the right of the sheet
rowCountIntegerThe number of frozen rows on the top of the sheet
trailingRowCountIntegerThe number of frozen rows on the bottom of the sheet

Example

You want to retrieve information about the number of frozen columns and rows:

var $panesObj : Object


$panesObj:=VP Get frozen panes("ViewProArea")

The returned object contains, for example:

See also

VP SET FROZEN PANES