GetItemText Method (TREEVIEW)


PLBCMP GUI Only

 

The GetItemText method returns the text string for a specified item in a TREEVIEW object. The method uses the following format:

 

[label]

{object}.GetItemText

GIVING {return} USING [*Item=]{item}

 

Where:

label

Optional. A Program Execution Label.

object

Required. A TREEVIEW object that is accessed.

return

Required. A Character String Variable that returns the item's text.

item

Required. A Numeric Variable that indicates the item within the object to access.

Flags Affected: EOS, OVER, ZERO

Note the following:

  1. {item} is an item handle indicating the item within the object to access.

  2. Upon completion, {return} will contain the specified item's text within the object.

  3. If {return} is too small to contain the text string, the EOS Condition Flag is set.

  4. The OVER and ZERO Condition Flags are always cleared.

 

 

See Also: Example Code, Method Syntax, TREEVIEW Methods

 



PL/B Language Reference GetItemState Method (TREEVIEW) GetLastDropXY Method (TREEVIEW)