TreeNodeGetFullPath

 

Get the full name of the node.

 

string @TreeNodeGetFullPath(object node);

 

Parameters

object node : node

 

Return Value

Returns the full pathname of the node.

 

Example

node = @TreeViewGetSelectedNode("TreeView1");

if(node == null) {
    @sprintf(msg, "Event DoubleClick node=null");
}
else {
    path = @TreeNodeGetFullPath(node);
    @sprintf(msg, "Event DoubleClick path=%s", path);
}

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

 

Description : If there is a node currently selected in the TreeView1 object, the pathname 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()