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:

 

[label]

{object}.InsertAttrDefault

[GIVING {return}]:

 

 

USING [*Default=]{default}

 

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:

  1. 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.

  2. For a description of the {default} attribute string, see the insertAttrColumn method.

  3. If the attributes are not specified by the default attribute data string, attribute settings are determined from the LISTVIEW.

  4. The OVER flag is set if the {return} variable is too small to hold the returned value.

  5. 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

 



PL/B Language Reference InsertAttrColumn Method (LISTVIEW) InsertAttrFont Method (LISTVIEW)