4D View v16PV ADD VERT SPLITTER |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D View v16
PV ADD VERT SPLITTER
|
PV ADD VERT SPLITTER ( area ; splitter ; position ; locked ) | ||||||||
Parameter | Type | Description | ||||||
area | Longint |
![]() |
4D View area | |||||
splitter | Integer |
![]() |
Vertical separator number | |||||
position | Integer |
![]() |
Position of separator with respect to the last separator in pixels | |||||
locked | Integer |
![]() |
0 = Unlocked; 1 = Locked | |||||
The PV ADD VERT SPLITTER command creates a new vertical splitter in area, whose number is passed in splitter. The splitter is created at position pixels from the left border of area.
If the locked parameter is equal to 1, the pane cannot be resized manually. If it is equal to 0, the pane can be resized freely by the user.
Notes:
Take a spreadsheet containing twenty or so columns: the first contains a reference (for example, product code), which must absolutely remain visible, regardless of the cell being modified by the user. We will then create a vertical pane to display this column A.
C_LONGINT($ColumnWidth) `Width of column A (in pixels)
$ColumnWidth:=PV Get column width(Area;1) `Column A
PV ADD VERT SPLITTER(Area;1;$ColumnWidth;0) `Resizable
If the PV ADD VERT SPLITTER command is executed when the area is in"frozen pane" mode, the error 92 (No splitter can be added when panes are frozen) is generated.
Product: 4D View
Theme: PV Panes
Number:
15968
Created: 4D View 6.8
4D View Language ( 4D View v16)