| 4D View v15PV ADD HOR SPLITTER | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|  | 
    4D View v15
 PV ADD HOR SPLITTER 
         | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| PV ADD HOR SPLITTER ( area ; splitter ; position ; locked ) | ||||||||
| Parameter | Type | Description | ||||||
| area | Longint |   | 4D View area | |||||
| splitter | Integer |   | Horizontal separator number | |||||
| position | Integer |   | Position of separator with respect to last separator in pixels | |||||
| locked | Integer |   | 0 = Unlocked; 1 = Locked | |||||
The PV ADD HOR SPLITTER command creates a new horizontal splitter in area, whose number is passed in splitter. The splitter is created at position pixels from the last splitter of the area or, if the area does not contain a splitter, from the upper border of the area (outside of toolbars).
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:
Add a horizontal pane, 30 pixels high, following panes that are already in the area.
 C_LONGINT($HorPaneNum) `Number of existing horizontal panes
 C_LONGINT($Position) `Position of pane
 
  `Number of horizontal panes
 $HorPaneNum:=PV Get area property(Area;pv hor pane count)
 $Position:=30 ` 30 pixels high
 PV ADD HOR SPLITTER(Area;$HorPaneNum;$Position;0) `ResizableIf the PV ADD HOR 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:  
        15967
        
        
        
	
	Created:  4D View 6.8
	
	
	
	
	
	
	
	
	4D View Language ( 4D View v15)
	
	
	
	
	
	
	
 Add a comment
Add a comment