Site hosted by Angelfire.com: Build your free website today!

XNode Event - SelPopUp

XNode Events

Summary:Selection in Pop-Up Menu (or double-click)
Occurs:When you click on an item in the pop-up menu or when you double-click on the item.
Details:When mods = -1, A double click is indicated. Otherwise, an item in the pop-up menu has been clicked.
mods = 0, Default:
  • "This is the routine that handles popups. Feel free to update the state of the external node, open dialogs, or do whatever you please in response to the users selection."
  • "The mods contain the ID of the selected menu item. The ID is a zero-based index into the array of menu items you created during the build popup routine."
  • where can be used in this step (where the user right-clicked to form the menu)
  • For errOut, specify 0 for noError.
mods = -1:
  • "This is the routine that gets called when you double-click on the external node at edit-time. Do what you will (e.g., open a dialog, toggle something, etc.)."
  • where can be used in this step: "Where the user double-clicked"
  • For reply: "These are the current possible reply values for the double-click action:
    Redraw - the external node will redraw it self (use if the image changes)
    UpdateTerms - tells LabVIEW to update the terminals based on the current term specifications"
    Example: 0x3 = Redraw True, UpdateTerms True
  • For errOut, specify 0 for noError.

XNode Events