| 4D v13PV SET COLUMN HEADER | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|  | 
    4D View v13
 PV SET COLUMN HEADER 
         | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| PV SET COLUMN HEADER ( area ; column ; title ) | ||||||||
| Parameter | Type | Description | ||||||
| area | Longint |   | 4D View area | |||||
| column | Longint |   | Column number | |||||
| title | String |   | Column name | |||||
The PV SET COLUMN HEADER command sets the title of the specified column.
For more information on the default names of rows and columns, refer to the PV Columns and rows, Introduction section.
In this example, we will assign a new name to the first 10 columns and rows of the area.
 C_INTEGER($Index) `Loop index
 C_STRING(80;$Title) `Column/row name
 
 For($Index;1;10)
    PV GET COLUMN HEADER(Area;$Index;$Title) `Get name of the $Index column
    $Title:="Column"+$Title"  `Modify name
    PV SET COLUMN HEADER(Area;$Index;"C"+$Title) `Assign new name
 
  `Read, modify and assign new name for the $Index row
    PV SET ROW HEADER(Area;$Index;"L"+PV Get row header(Area;$Index))
 End for
	Product:  4D
	Theme:  PV Columns and Rows
	Number:  
        15950
        
        
        
	
	Created:  4D View 6.8
PV GET COLUMN HEADER
PV SET ROW HEADER