6. Working with Arrays, Table Fields, and Collections : Table Fields : Table Field Components : Column Titles
 
Share this page                  
Column Titles
You can change a column's title text or its visual appearance. To change the text, use the following syntax:
field(tablefield[*].column).Title = title_string
This syntax references the Title attribute of the column's ColumnField object.
Title = title_string
Data type: varchar(256)
Specifies a title, which can be a quoted literal or a varchar variable
Use the TitleTrim attribute of the ColumnField object to access the visual attributes of the title. TitleTrim is a FreeTrim object. The syntax is:
field(tablefield[*].column).TitleTrim.attribute = value
attribute
Specifies an attribute of the FreeTrim object. For example, the following statement changes the title of the custname column to boldface:
field(custtable[*].custname).TitleTrim.IsBold = TRUE;