TreeNodeGetText

 

Get the displayed name of the node.

 

string @TreeNodeGetText(object node);

 

Parameters

object node : node

 

Return Value

Returns the node's text

 

Example

node = @TreeViewGetSelectedNode("TreeView1");

if(node == null) {
    @sprintf(msg, "Node not selected");
}
else {
    text = @TreeNodeGetText(node);
    @sprintf(msg, "Node Text=%s", text);
}

@ListBoxInsertString("ListBox1", 0, msg);

 

Description : If there is a node currently selected in the TreeView1 object, the text is displayed in the list box.

 

Version Information

Supported version: 10.3.3 or higher

 

Related Helps

@TreeNodeAdd()

@TreeNodeGetFullPath()

@TreeNodeGetText()

@TreeNodeNew()

@TreeViewExpandAll()

@TreeViewGetSelectedNode()

@TreeViewNodeAdd()

@TreeViewNodeClear()

@TreeViewSeekNode()

@TreeViewSetImageList()

@TreeViewSetSelectedNode()