How Do I Register a Double-Click Event on a Control or Indicator in LabVIEW?

Updated Oct 13, 2022



  • LabVIEW Full
  • LabVIEW Base
  • LabVIEW Professional

Some controls (like Listbox, Multicolumn Listbox and Treecontrol) have a mouse double-click detection method, but that feature is not included for other controls or indicators. Is there any way I can detect mouse double-clicks in those controls or indicators?

Mouse double-click in a control or indicator can be detected within an event case structure.
  1. Right-click on the block diagram and select Programming»Structures»Event Structure and place it on the block diagram.
  2. Right-click on the border of the Event Structure and select Add Event Case....
  3. Select the control to detect the double-click as source event and Mouse Up or Mouse Down as event.
  4. For detecting mouse double-click's, select the corresponding event data node: Mods»Double Click.

For help on events and Event Data Nodes available for controls and indicators, see the LabVIEW Help: Control Events.