05-15-2016 04:26 AM
Hi Is the a way to change Value (active row) of multicolumn listbox using mouse?
Solved! Go to Solution.
05-15-2016 04:58 AM
If it is a control yes, if it is an indicator no!
05-16-2016 09:42 AM
Ha ha. That's a short answer . I dont expect you want to reveal how?
05-16-2016 10:09 AM
Can you give more detail on what you have and what you're trying to do? As Rolf said, if your listbox is a control, mouse interaction is a natural function, but if it's an indicator, it's not. And, of course, if it's a control but you have it disabled, you'd need to enable it before you can change the active row with the mouse. Can you post any code as an example?
05-16-2016 10:52 AM
Here's one way to do it.
05-16-2016 03:15 PM
Wauuu that's brilliant
05-17-2016 01:23 AM
Hi
How do you get access to point to row coloumn property node ?
05-17-2016 01:31 AM - edited 05-17-2016 01:38 AM
@Michael.Koppelgaard wrote:Ha ha. That's a short answer
. I dont expect you want to reveal how?
The answer is only slightly shorter than your question!
If you had elaboated a little more about what your problem is, I might have expanded on my answer. As it was my first thougth was that you simply were trying to operate the listbox control after you had made it into an indicator.
Sorry for my underdeveloped mind reader ability.
As to your last question about how to get access to the Point to Row property node I again struggle to understand what you are asking. You have the snipped posted so you have access to the actual VI. Obviously you have the method node (this one is not a property node!) already there and the actual method selected. So you simply place a method node on the diagram and wire it to the object refnum and voila!
05-17-2016 02:23 AM
What do I want to do??
Sorry for being so not corroborative
I have 2 instruments. I want to adjust the instruments after the value in the row header. I want to put the output from instrument 1 in col 1 and from instrument 2 in col 2.
I want to be able to jump from row to row using the mouse click function and use this value to set the instruments.
From dave_st’s answer, I understand that it’s also possible to use the mouse wheel to change the value of the multicolumn object. I didn’t know that.
I hope my explanation is understandable.
05-17-2016 11:25 AM
Here's an example I wrote up. I'm not entirely clear on how you want to bring the data in to the listbox or what you want to do with it after, but that's okay--the important part is extracting it. Hope this is the kind of solution you're looking for.