控件事件下载PDF选定部分选定部分和子部分整个手册更新时间2026-02-19阅读时长7分钟LabVIEWAPI参考LabVIEW G 拖曳结束Generated after a drag and drop operation completes.拖曳输入Generated when there is a drag operation pending and the cursor enters the bounds of a control.拖曳停止Generated 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.拖曳经过Generated when there is a drag and drop operation pending, as the mouse moves over a control.拖放源更新Generated when the mouse moves or a key state changes during a drag and drop operation.放置Generated when the user lifts the mouse when hovering over a control when there is a drag and drop operation pending.键按下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.键按下?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.键重复Generated at regular intervals when the user presses and holds a key in a front panel control.键重复?Generated when the user presses and holds a key in a front panel control.键释放Generated when the user releases a key on the keyboard in a specific control on the front panel.鼠标按下Generated when you click the mouse button on a specific control.鼠标按下?Generated when you click the mouse button on a specific control.鼠标进入Generated when the cursor enters the bounds of the front panel object.鼠标离开Generated when the cursor leaves the bounds of the front panel object.鼠标移动Generated when you move the mouse over a control.鼠标释放Generated 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.鼠标滑轮Generated when you scroll the mouse wheel over a control.快捷菜单激活?Generated when the user right-clicks a control to display the shortcut menu.快捷菜单消除Generated when the user dismisses a shortcut menu, either by pressing escape or clicking somewhere outside the menu bounds. This is a notify event.快捷菜单选择(应用程序)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.快捷菜单选择(用户)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.快捷菜单选择?(应用程序)Generated when the user selects an application item from the shortcut menu. This event is posted before the application item is processed by LabVIEW.值改变Generated 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.
拖曳结束Generated after a drag and drop operation completes.拖曳输入Generated when there is a drag operation pending and the cursor enters the bounds of a control.拖曳停止Generated 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.拖曳经过Generated when there is a drag and drop operation pending, as the mouse moves over a control.拖放源更新Generated when the mouse moves or a key state changes during a drag and drop operation.放置Generated when the user lifts the mouse when hovering over a control when there is a drag and drop operation pending.键按下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.键按下?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.键重复Generated at regular intervals when the user presses and holds a key in a front panel control.键重复?Generated when the user presses and holds a key in a front panel control.键释放Generated when the user releases a key on the keyboard in a specific control on the front panel.鼠标按下Generated when you click the mouse button on a specific control.鼠标按下?Generated when you click the mouse button on a specific control.鼠标进入Generated when the cursor enters the bounds of the front panel object.鼠标离开Generated when the cursor leaves the bounds of the front panel object.鼠标移动Generated when you move the mouse over a control.鼠标释放Generated 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.鼠标滑轮Generated when you scroll the mouse wheel over a control.快捷菜单激活?Generated when the user right-clicks a control to display the shortcut menu.快捷菜单消除Generated when the user dismisses a shortcut menu, either by pressing escape or clicking somewhere outside the menu bounds. This is a notify event.快捷菜单选择(应用程序)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.快捷菜单选择(用户)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.快捷菜单选择?(应用程序)Generated when the user selects an application item from the shortcut menu. This event is posted before the application item is processed by LabVIEW.值改变Generated 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.
拖曳结束Generated after a drag and drop operation completes.拖曳输入Generated when there is a drag operation pending and the cursor enters the bounds of a control.拖曳停止Generated 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.拖曳经过Generated when there is a drag and drop operation pending, as the mouse moves over a control.拖放源更新Generated when the mouse moves or a key state changes during a drag and drop operation.放置Generated when the user lifts the mouse when hovering over a control when there is a drag and drop operation pending.键按下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.键按下?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.键重复Generated at regular intervals when the user presses and holds a key in a front panel control.键重复?Generated when the user presses and holds a key in a front panel control.键释放Generated when the user releases a key on the keyboard in a specific control on the front panel.鼠标按下Generated when you click the mouse button on a specific control.鼠标按下?Generated when you click the mouse button on a specific control.鼠标进入Generated when the cursor enters the bounds of the front panel object.鼠标离开Generated when the cursor leaves the bounds of the front panel object.鼠标移动Generated when you move the mouse over a control.鼠标释放Generated 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.鼠标滑轮Generated when you scroll the mouse wheel over a control.快捷菜单激活?Generated when the user right-clicks a control to display the shortcut menu.快捷菜单消除Generated when the user dismisses a shortcut menu, either by pressing escape or clicking somewhere outside the menu bounds. This is a notify event.快捷菜单选择(应用程序)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.快捷菜单选择(用户)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.快捷菜单选择?(应用程序)Generated when the user selects an application item from the shortcut menu. This event is posted before the application item is processed by LabVIEW.值改变Generated 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.