| nType | [optional] (Long) The type of the tree area for finding the selected item.
0 (default) - Returns the selected tree item (object of the PmfTreeItem type) in the branch starting with the specified item.
|
|---|
var oSelTree = oTree.TreeRoot.GetSel(0);
// Returns the selected item in the whole tree
var oSelBranch = oTreeItem.GetSel(0);
// Returns the selected item in the branch starting with the oTreeItem item
var oSelTest = oTreeItem.GetSel(1);
// Test whether the oTreeItem item is selected