DoubleSelect Method (TreeView)

Class

TreeView.

Action

Double-clicks an item.

Syntax

treeview.DoubleSelect (Item)
Variable Description
Item The item to click. STRING or INTEGER.

Notes

DoubleSelect scrolls the specified item into view and then double-clicks it. The meaning of a double-clicking a treeview item is application-defined. In some cases, it toggles the expand/collapse state of the item.

For information on specifying Item, see the TreeView class.

DoubleSelect() does not work properly with Internet Explorer 7.

Example

MyDialog.MyTreeView.DoubleSelect("/root/child/grandchild")