PV SET HOR PANE PROPERTY
version 6.8
PV SET HOR PANE PROPERTY (area; pane; property; value)
Parameter | Type | Description | |
area | Longint | 4D View area | |
pane | Integer | Horizontal pane number | |
property | Longint | Property number | |
value | Longint | Property value |
Description
The PV SET HOR PANE PROPERTY command sets the property value of the property of the horizontal pane of area whose number is pane.
The PV Pane properties constants are used to define the properties.
The pv pane true scroll and pv pane relative scroll constants allow you to scroll vertically the contents of the horizontal pane whose number is pane:
• The pv pane true scroll allows scrolling the contents of the pane by value pixels starting from the origin of area (i.e. the first cell), regardless of the current position of the scrolling cursor.
• The pv pane relative scroll allows scrolling the contents of the pane by value pixels starting from the current position of the scrolling cursor.
Note that scrolling in pixels is adjusted so that the upper-most row of the area is not truncated horizontally.
In the context of an area in "frozen pane" mode, the PV SET HOR PANE PROPERTY command can only use the pv pane columns count, pv pane rows count, pv pane first column and pv pane first row properties. The other properties are inactive.
Example
Enlarge the first horizontal pane by 30 pixels.
C_LONGINT($Size) `Size of the first horizontal pane
$Size:=PV Get hor pane property (Area;1;pv pane size in pixels )
PV SET HOR PANE PROPERTY (Area;1;pv pane size in pixels ;$Size+30) `30 pixels more
See Also
PV Get hor pane property, PV SET VERT PANE PROPERTY.
Constants
PV Pane properties theme.