Last Modified: February 27, 2020
The following events occur when the user performs an action that involves a tree control.
Event
|
Description
|
Event Data Fields
|
Item closed
|
Occurs when the user closes an item in a tree control.
|
-
Time—Value of the millisecond timer when the event occurred.
-
Index—Index of the event source within an individual event diagram.
-
Control Reference—Reference to the control on which the event occurred.
-
Location—Hierarchical location of the closed item.
-
Data—Data for the closed item, including the hierarchical location and associated data for the columns.
|
Item opened
|
Occurs when the user expands an item in a tree control.
|
-
Time—Value of the millisecond timer when the event occurred.
-
Index—Index of the event source within an individual event diagram.
-
Control Reference—Reference to the control on which the event occurred.
-
Location—Hierarchical location of the expanded item.
-
Data—Data for the expanded item, including the hierarchical location and associated data for the columns.
|
Selection changed
|
Occurs when the user selects or deselects one or more items in a tree control.
|
-
Time—Value of the millisecond timer when the event occurred.
-
Index—Index of the event source within an individual event diagram.
-
Control Reference—Reference to the control on which the event occurred.
-
OldSelection—Hierarchical
location of the previously selected item. This event data
field can be a string or an array of strings, depending on
the selection mode of the tree control.
-
NewSelection—Hierarchical
location of the selected item. This event data field can be
a string or an array of strings, depending on the selection
mode of the tree control.
-
SelectedData—Data for the
selected item, including the hierarchical location and
associated data for the columns. This event data field can
be a cluster or an array of clusters, depending on the
selection mode of the tree control.
|
Recently Viewed Topics