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:
|
|
|
|
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:
{item} is an item handle indicating the item within the object to access.
Upon completion, {return} will contain the specified item's text within the object.
If {return} is too small to contain the text string, the EOS Condition Flag is set.
The OVER and ZERO Condition Flags are always cleared.
See Also: Example Code, Method Syntax, TREEVIEW Methods
![]() |