PV SET COLUMN HEADER
version 6.8
PV SET COLUMN HEADER (area; column; title)
Parameter | Type | Description | |
area | Longint | 4D View area | |
column | Longint | Column number | |
title | String | Column name |
Description
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 & rows, Introduction section.
Example
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
See Also