Control EventsDownload PDFSelected SectionSelected Section and Subsection(s)Entire ManualUpdated2025-01-283 minute(s) readLabVIEWAPI ReferenceLabVIEW G Control Events Drag EndedGenerated after a drag and drop operation completes.Drag EnterGenerated when there is a drag operation pending and the cursor enters the bounds of a control.Drag LeaveGenerated when there is a drag operation pending and the mouse leaves a control that can accept a drag, or if a user cancels a drag and drop operation when hovering over a control.Drag OverGenerated when there is a drag and drop operation pending, as the mouse moves over a control.Drag Source UpdateGenerated when the mouse moves or a key state changes during a drag and drop operation.DropGenerated when the user lifts the mouse when hovering over a control when there is a drag and drop operation pending.Key DownGenerated on a control that has keyboard focus. If a key press matches a keyboard shortcut in the VI menu, such as Ctrl-C or Ctrl-V, LabVIEW does not generate a Key Down event, regardless of whether the menu item is enabled.Key Down?Generated on a control that has keyboard focus. If a key press matches a keyboard shortcut in the VI menu, such as Ctrl-C or Ctrl-V, LabVIEW does not generate a Key Down event, regardless of whether the menu item is enabled.Key RepeatGenerated at regular intervals when the user presses and holds a key in a front panel control.Key Repeat?Generated when the user presses and holds a key in a front panel control.Key UpGenerated when the user releases a key on the keyboard in a specific control on the front panel.Mouse DownGenerated when you click the mouse button on a specific control.Mouse Down?Generated when you click the mouse button on a specific control.Mouse EnterGenerated when the cursor enters the bounds of the front panel object.Mouse LeaveGenerated when the cursor leaves the bounds of the front panel object.Mouse MoveGenerated when you move the mouse over a control.Mouse UpGenerated when you release the mouse button on a specific control. LabVIEW does not generate this event if a shortcut menu appears when you click the mouse button.Mouse WheelGenerated when you scroll the mouse wheel over a control.Shortcut Menu Activation?Generated when the user right-clicks a control to display the shortcut menu.Shortcut Menu DismissedGenerated when the user dismisses a shortcut menu, either by pressing escape or clicking somewhere outside the menu bounds. This is a notify event.Shortcut Menu Selection (App)Generated when the user selects an application item from the shortcut menu of a control. Use the Shortcut Menu Selection (User) event to generate an event when the user selects a user-defined menu item. This event is posted after the built-in shortcut menu item is processed by LabVIEW.Shortcut Menu Selection (User)Generated when the user selects a user-defined item from the shortcut menu. Use the Shortcut Menu Selection (App) event to generate an event when the user selects an application item from the shortcut menu.Shortcut Menu Selection? (App)Generated when the user selects an application item from the shortcut menu. This event is posted before the application item is processed by LabVIEW.Value ChangeGenerated when the user changes the value of a control. You must read the terminal of a latched Boolean control in its Value Change event case.Parent topic: ControlWas this information helpful?YesNo
Control Events Drag EndedGenerated after a drag and drop operation completes.Drag EnterGenerated when there is a drag operation pending and the cursor enters the bounds of a control.Drag LeaveGenerated when there is a drag operation pending and the mouse leaves a control that can accept a drag, or if a user cancels a drag and drop operation when hovering over a control.Drag OverGenerated when there is a drag and drop operation pending, as the mouse moves over a control.Drag Source UpdateGenerated when the mouse moves or a key state changes during a drag and drop operation.DropGenerated when the user lifts the mouse when hovering over a control when there is a drag and drop operation pending.Key DownGenerated on a control that has keyboard focus. If a key press matches a keyboard shortcut in the VI menu, such as Ctrl-C or Ctrl-V, LabVIEW does not generate a Key Down event, regardless of whether the menu item is enabled.Key Down?Generated on a control that has keyboard focus. If a key press matches a keyboard shortcut in the VI menu, such as Ctrl-C or Ctrl-V, LabVIEW does not generate a Key Down event, regardless of whether the menu item is enabled.Key RepeatGenerated at regular intervals when the user presses and holds a key in a front panel control.Key Repeat?Generated when the user presses and holds a key in a front panel control.Key UpGenerated when the user releases a key on the keyboard in a specific control on the front panel.Mouse DownGenerated when you click the mouse button on a specific control.Mouse Down?Generated when you click the mouse button on a specific control.Mouse EnterGenerated when the cursor enters the bounds of the front panel object.Mouse LeaveGenerated when the cursor leaves the bounds of the front panel object.Mouse MoveGenerated when you move the mouse over a control.Mouse UpGenerated when you release the mouse button on a specific control. LabVIEW does not generate this event if a shortcut menu appears when you click the mouse button.Mouse WheelGenerated when you scroll the mouse wheel over a control.Shortcut Menu Activation?Generated when the user right-clicks a control to display the shortcut menu.Shortcut Menu DismissedGenerated when the user dismisses a shortcut menu, either by pressing escape or clicking somewhere outside the menu bounds. This is a notify event.Shortcut Menu Selection (App)Generated when the user selects an application item from the shortcut menu of a control. Use the Shortcut Menu Selection (User) event to generate an event when the user selects a user-defined menu item. This event is posted after the built-in shortcut menu item is processed by LabVIEW.Shortcut Menu Selection (User)Generated when the user selects a user-defined item from the shortcut menu. Use the Shortcut Menu Selection (App) event to generate an event when the user selects an application item from the shortcut menu.Shortcut Menu Selection? (App)Generated when the user selects an application item from the shortcut menu. This event is posted before the application item is processed by LabVIEW.Value ChangeGenerated when the user changes the value of a control. You must read the terminal of a latched Boolean control in its Value Change event case.Parent topic: Control
Control Events Drag EndedGenerated after a drag and drop operation completes.Drag EnterGenerated when there is a drag operation pending and the cursor enters the bounds of a control.Drag LeaveGenerated when there is a drag operation pending and the mouse leaves a control that can accept a drag, or if a user cancels a drag and drop operation when hovering over a control.Drag OverGenerated when there is a drag and drop operation pending, as the mouse moves over a control.Drag Source UpdateGenerated when the mouse moves or a key state changes during a drag and drop operation.DropGenerated when the user lifts the mouse when hovering over a control when there is a drag and drop operation pending.Key DownGenerated on a control that has keyboard focus. If a key press matches a keyboard shortcut in the VI menu, such as Ctrl-C or Ctrl-V, LabVIEW does not generate a Key Down event, regardless of whether the menu item is enabled.Key Down?Generated on a control that has keyboard focus. If a key press matches a keyboard shortcut in the VI menu, such as Ctrl-C or Ctrl-V, LabVIEW does not generate a Key Down event, regardless of whether the menu item is enabled.Key RepeatGenerated at regular intervals when the user presses and holds a key in a front panel control.Key Repeat?Generated when the user presses and holds a key in a front panel control.Key UpGenerated when the user releases a key on the keyboard in a specific control on the front panel.Mouse DownGenerated when you click the mouse button on a specific control.Mouse Down?Generated when you click the mouse button on a specific control.Mouse EnterGenerated when the cursor enters the bounds of the front panel object.Mouse LeaveGenerated when the cursor leaves the bounds of the front panel object.Mouse MoveGenerated when you move the mouse over a control.Mouse UpGenerated when you release the mouse button on a specific control. LabVIEW does not generate this event if a shortcut menu appears when you click the mouse button.Mouse WheelGenerated when you scroll the mouse wheel over a control.Shortcut Menu Activation?Generated when the user right-clicks a control to display the shortcut menu.Shortcut Menu DismissedGenerated when the user dismisses a shortcut menu, either by pressing escape or clicking somewhere outside the menu bounds. This is a notify event.Shortcut Menu Selection (App)Generated when the user selects an application item from the shortcut menu of a control. Use the Shortcut Menu Selection (User) event to generate an event when the user selects a user-defined menu item. This event is posted after the built-in shortcut menu item is processed by LabVIEW.Shortcut Menu Selection (User)Generated when the user selects a user-defined item from the shortcut menu. Use the Shortcut Menu Selection (App) event to generate an event when the user selects an application item from the shortcut menu.Shortcut Menu Selection? (App)Generated when the user selects an application item from the shortcut menu. This event is posted before the application item is processed by LabVIEW.Value ChangeGenerated when the user changes the value of a control. You must read the terminal of a latched Boolean control in its Value Change event case.Parent topic: Control