InsertAttrFont Method (LISTVIEW)
9.0, PLBCMP GUI Only
The InsertAttrFont method initializes the font index table for the LISTVIEW object using FONT objects. The method uses the following format:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Where:
label
Optional. A Program Execution Label.
object
Required. A LISTVIEW object that is accessed.
return
Optional. A Numeric Variable that indicates the first table position modified.
font1-fontn
Optional. A FONT object that is assigned to the font table position.
Flags Affected: OVER, ZERO
Note the following:
The LISTVIEW font table allows definition of up to twenty (20) fonts.
If a FONT object is stored into the font table, the returned value is the first font table position that was set. If no font table positions were set, a value of zero is returned.
The ZERO condition flag is set if the returned value is zero.
The OVER flag is set if the {return} variable is too small to hold the returned value.
For improved performance in the Application Server environment, do not specify the optional return value unless needed.
See Also: Example Code, Method Syntax, LISTVIEW Methods
![]() |