The VP SET COLUMN COUNT command defines the total number of columns 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.
Pass the total number of columns in the columnCount parameter. columnCount must be greater than 0.
In the optional sheet parameter, you can designate a specific spreadsheet where the columnCount will be applied (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 |
Type |
Value |
Comment |
vk current sheet |
Longint |
-1 |
Designates current sheet of the 4D View Pro area (default) |
The following code defines five columns in the 4D View Pro area:
VP SET COLUMN COUNT("ViewProArea";5)
The result:
