Command PV SET VERT PANE PROPERTY

4D View

PV SET VERT PANE PROPERTY

version 6.8


PV SET VERT PANE PROPERTY (area; pane; property; value)

ParameterTypeDescription
areaLongint4D View area
paneIntegerVertical pane number
propertyLongintProperty number
valueLongintProperty value

Description

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 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 horizontally the contents of the vertical 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 left-most column of the area is not truncated vertically.

In the context of an area in "frozen pane" mode, the PV SET VERT 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.

Examples

1. 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

2. Scroll the first pane by 50 pixels from the origin.

   PV SET VERT PANE PROPERTY  (Area;1;pv pane true scroll ;50) 

See Also

PV Get vert pane property, PV SET HOR PANE PROPERTY.

Constants

PV Pane properties theme.