I have a vi where the user can enter the Type of Resin, filler,
initiator, etc (see pic) and then can hit add or delete to add/delete
it from the combo box. All of these items are part of a custom
control that is a cluster. I created a subVI that will delete and
add the items from the list, based on enumerated controls (one to
control which combo box needs to be modified and then what action to
take, add/delete).
I wanted to use only one add and one delete button, instead of a
seperate add/delete for each combo box. I am using an event
structure and when the user hit the add or delete button, which ever
combo box was in Key Focus would be the combo box that had the item
added or deleted. I thought that I could use the select function
(under comparison palette) and if the Key Focus property node for Enter
User was true, then an enum constant for the user would be fed into the
subvi i mentioned earlier, and so on for each combo box. The
problem is that I cant connect them all to the one input on the subvi
directly. I want to only feed in the one that has the keyfocus
and not any of the other ones. I could go through and make a
bunch of case structures, but I want to believe there is an easiear way
to do it.
Kenny