4D v13

PV SET COLUMN HEADER

Home

 
4D View v13
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_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

 
PROPERTIES 

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

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D View 6.8

 
SEE ALSO 

PV GET COLUMN HEADER
PV SET ROW HEADER