DoubleClickNode Method (JTree)

Class

JTree class

Action

Double-clicks on a tree node specified by the item path.

Syntax

tree.DoubleClickNode(item, [button, position, modifiers])
Variable Description
item The item path to double-click on. LISTITEM.
button Optional.The button used for double-clicking. Valid values are: left (=1, the default value), right (=2), middle (=3). INTEGER.
position Optional.The position to double-click. If the position is omitted, the double-click is done in the center of the tree node. POINT.
modifiers Optional.The modifier keys (Alt, Shift and Ctrl) to press while double-clicking the tree node. Default: Don't use modifier keys. MODIFIERKEYSTATE.

Examples

Tree.DoubleClickNode("/level_1-1/level_2-1/level_3-4", 1, {10, 10}, MOD_CTRL)
Tree.DoubleClickNode("/level_1-1/level_2-1/level_3-4")