04-03-2018 10:30 PM
Hi all,
I'm trying to create and edit short cut menus specifically for the boolean controls in a cluster of boolean and string controls, however, I want the VI to recognize which boolean was selected from the right click to bring up the short-cut menu by the user. The menu item's action will then gather that certain boolean control that was right clicked's caption label and then store it into the table control once chosen by the user
I know this is an event structure set up but I'm having a hard time getting the program to recognize which boolean was actually right clicked upon. Is there a way to do this?
04-03-2018 11:19 PM
Just compare previous value(Cluster Elements) with current value (Cluster Elements) , then you will get to know which Boolean was actually triggered.
04-04-2018 03:11 AM
If the cluster has both strings and boolean, how would I differentiate that the user actually right-clicked a boolean control rather than the string control next to it to compare current values, since they are both listed in the cluster elements?
04-04-2018 03:57 AM
Hope at a time only one event can occur and the same will be captured using Event register, while finding the difference, it will give you the exact control.