Double Click Event

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

Requires: Base Development System

Class: TreeControl Events

Type: Notify

Generated when a user double-clicks an item in the tree control.

You also can use the Double Click method to obtain the tag of the last item the user double-clicked.

Event Data Fields

NameDescription
SourceSource of the event. LabVIEW UI refers to any built-in user interface event.

0LabVIEW UI
TypeType of event that occurred, such as Mouse Down, Value Change, Timeout, and so on.
TimeValue of the millisecond timer when the event occurred.
TimeValue of the millisecond timer when the event occurred.
CtrlRefReference to the control on which the event occurred.
ButtonValue that corresponds to which mouse button the user clicked. Left mouse button is 1, right mouse button is 2. Operating systems might assign higher numbers if you have a mouse with more than two buttons. For filter events, you can modify the data returned by this event data field.
ModsCluster of Booleans that contain platform-independent modifiers. LabVIEW returns all platform-dependent modifiers in the PlatMods event data field. For key events, this event returns a Boolean indicating if the event occurred on the numeric keypad. For mouse events, this event returns a Boolean indicating if the event was a double-click. For both events, a Boolean is returned if the platform-independent menu key, such as <Ctrl> on Windows or <Command> on Mac OS X, was pressed when the event occurred. For filter events, you can modify the data returned by this event data field.
PlatModsCluster of Booleans that contain platform-dependent modifiers. Specifies if platform-dependent keys, such as <Ctrl>, <Shift>, <Alt>, <Command>, and <Option> were held down when the event was triggered. For filter events, you can modify the data returned by this event data field. A key can be both a Mod and PlatMod. For example, <Ctrl> is the platform-independent menu key on Windows, but you also can use it in platform-dependent programming.
TagUnique tag of the item on which the event occurred.
Cell PartValue corresponding to the part of the cell the user double-clicked.

0Text—The text of any item, row header, or column header.
1Background—Area between the text and the cell borders. Because the text fills the cell, the user cannot access this part of the cell.
2Item Symbol—The symbol for an item.
3Open/Close Symbol—The symbol that appears to the left of an item when that item has child items.
4Hierarchy Lines—Horizontal and vertical lines to the left of items that outline the hierarchy of items.
5Right Border—The right border of row headers and column headers.
6Bottom Border—The bottom border of row headers and column headers.
7Bottom Right Corner—The bottom right corner of row headers and column headers.
8Unknown Part—Any location on the control that does not correspond to another part.

WAS THIS ARTICLE HELPFUL?

Not Helpful