GetSelText Function (TreeView)

Class

TreeView.

Action

Returns the full path text of the selected item.

Syntax

sText = treeview.GetSelText()
Variable Description
sText The text of the selected item in the control. STRING.

Notes

GetSelText returns the full path of the currently selected item in the treeview. If no item is selected, the return value is an empty string.

Example

Verify(MyDialog.MyTreeView.GetSelText(), "foo")