InsertAttrDefault Method (LISTVIEW)
9.0, PLBCMP GUI Only
The InsertAttrDefault method specifies an attribute string that is the default for any LISTVIEW line item cells that do not have attributes defined. 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 success or failure of the method.
default
Required. A Character String Variable or literal that gives the default attribute data string.
Flags Affected: OVER, ZERO
Note the following:
If the method is successful, the {return} value is zero and the ZERO condition flag is set. If the method fails, the {return} value is not zero and the ZERO condition flag is cleared.
For a description of the {default} attribute string, see the insertAttrColumn method.
If the attributes are not specified by the default attribute data string, attribute settings are determined from the LISTVIEW.
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
![]() |