| 4D v18VP Column | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
 | 
    4D v18
 VP Column 
         | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| VP Column ( vpAreaName ; column {; columnCount {; sheet}} ) -> Function result | ||||||||
| Parameter | Type | Description | ||||||
| vpAreaName | Text |   | 4D View Pro area form object name | |||||
| column | Longint |   | Column index | |||||
| columnCount | Longint |   | Number of columns | |||||
| sheet | Longint |   | Sheet index (current sheet if omitted) | |||||
| Function result | Object |   | Range object of column(s) | |||||
The VP Column command returns a new range object referencing a specific column or columns.
In vpAreaName, pass the name of the 4D View Pro area. If you pass a name that does not exist, an error is returned.
The column parameter defines the first column of the column range. Pass the column index (counting begins at 0) in this parameter. If the range contains multiple columns, you should also use the optional columnCount parameter.
The optional columnCount parameter allows you to define the total number of columns of the range. columnCount must be greater than 0. If omitted, the value will be set to 1 by default and a column type range is created.
In the optional sheet parameter, you can designate a specific spreadsheet where the range will be defined (counting begins at 0). If omitted, the current spreadsheet is used by default. You can explicitly select the current spreadsheet with the following constant:
| Constant | Type | Value | Comment | 
| vk current sheet | Longint | -1 | Designates current sheet of the 4D View Pro area (default) | 
You want to define a range object for the column shown below (on the current spreadsheet):
 
 
The code would be:
 $column:=VP Column("ViewProArea";3) // column D
									4D View Pro Range Object Properties
									
									VP All
									
									VP Cell
									
									VP Cells
									
									VP Combine ranges
									
									VP Name
									
									VP Row
									
	Product:  4D
	Theme:  4D View Pro Language
	Number:  
        9536
        
        
        
	
	Created:  4D v17 R4
	
	
	
	4D View Pro Reference ( 4D v18)
	
	
	
 Add a comment
Add a comment