4D View v16

PV SET COLUMN HEADER

Home

 
4D View v16
PV SET COLUMN HEADER

PV SET COLUMN HEADER 


 

PV SET COLUMN HEADER ( area ; column ; title ) 
Parameter Type   Description
area  Longint in 4D View area
column  Longint in Column number
title  String in 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.

Example  

In this example, we will assign a new name to the first 10 columns and rows of the area.

 C_LONGINT($Index//Loop index
 C_TEXT($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 

PV GET COLUMN HEADER
PV SET ROW HEADER

 
PROPERTIES 

Product: 4D View
Theme: PV Columns and Rows
Number: 15950

 
HISTORY 

Created: 4D View 6.8

 
ARTICLE USAGE

4D View Language ( 4D View v16)