4D v13

PV SET HOR PANE PROPERTY

Home

 
4D View v13
PV SET HOR PANE PROPERTY

PV SET HOR PANE PROPERTY 


 

PV SET HOR PANE PROPERTY ( area ; pane ; property ; value ) 
Parameter Type   Description
area  Longint in 4D View area
pane  Integer in Horizontal pane number
property  Longint in Property number
value  Longint in Property value

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 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 row Longint 4
pv pane rows 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.

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

 
PROPERTIES 

Product: 4D
Theme: PV Panes
Number: 15963

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D View 6.8

 
SEE ALSO 

PV Get hor pane property
PV SET VERT PANE PROPERTY