Link Search Menu Expand Document

STree.Clicked Event

Occurs when the left mouse button is pressed.

The following child objects are attached to the Event object.

Type Name Explanation
STreeItem item STreeItem object that is an accessor to the clicked item
Number ShiftKey 1 if the Shift key is pressed, 0 otherwise
Number CtrlKeyKey 1 if the Ctrl key is pressed, 0 otherwise
Number AltKey 1 if the Alt key is pressed, 0 otherwise
Number xPos X coordinate of mouse pointer
Number yPos Y coordinate of mouse pointer

If an item in the tree is clicked, item will contain the accessor for the clicked item.

If a non-item in the tree is clicked, the item will contain an invalid accessor (Id property 0).