4D View v16PV SET VERT PANE PROPERTY |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D View v16
PV SET VERT PANE PROPERTY
|
PV SET VERT PANE PROPERTY ( area ; pane ; property ; value ) | ||||||||
Parameter | Type | Description | ||||||
area | Longint |
![]() |
4D View area | |||||
pane | Integer |
![]() |
Vertical pane number | |||||
property | Longint |
![]() |
Property number | |||||
value | Longint |
![]() |
Property value | |||||
The PV SET VERT PANE PROPERTY command sets the property value of the property of the vertical pane of area whose number is pane.
The following PV Pane properties constants are used to define the properties:
Constant | Type | Value | Comment |
pv pane lock scrollbar | Longint | 0 | This property is inactive in an area in "frozen pane" mode |
pv pane lock splitter | Longint | 1 | This property is inactive in an area in "frozen pane" mode |
pv pane view splitter cursor | Longint | 2 | This property is inactive in an area in "frozen pane" mode |
pv pane size in pixels | Longint | 3 | This property is inactive in an area in "frozen pane" mode |
pv pane first column | Longint | 4 | |
pv pane columns count | Longint | 5 | |
pv pane true scroll | Longint | 6 | Indicates in pixels the scrolling value for the contents of the pane starting from the origin of the area (i.e. the first cell), regardless of the current position of the scrolling cursor. This property is inactive in an area that is in "frozen pane" mode. |
pv pane relative scroll | Longint | 7 | Property can only be used with the "PV SET..." commands. Used to scroll the contents of the pane by value pixels with respect to 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. This property is inactive when the area is in "frozen pane" mode. |
Enlarge the first vertical pane by 30 pixels.
C_LONGINT($Size) `Size of the first vertical pane
$Size:=PV Get vert pane property(Area;1;pv pane size in pixels)
PV SET VERT PANE PROPERTY(Area;1;pv pane size in pixels;$Size+30) `30 pixels more
Scroll the first pane by 50 pixels from the origin.
PV SET VERT PANE PROPERTY(Area;1;pv pane true scroll;50)
Product: 4D View
Theme: PV Panes
Number:
15964
Created: 4D View 6.8
4D View Language ( 4D View v16)