Showing results for 
Search instead for 
Did you mean: 

indexing multicolumn list



What is the easiest way to index the column of a multicolumn list?


Also, if using a strict ref, you can also index the row by using the value of the property node. How would you do this if the ref is not strict type (the value is a variant instead)? Lastly, a double click user event will also return back the current row. Why does this not also show up when using only a single mouse click?



0 Kudos
Message 1 of 5

Hi Newbie217,

if your refnum is not typed, then you can use the "to specified class" function to get a strict ref. Another possibility would be to use "variant to data" to get an array of "your datatype".



Message 2 of 5
thanks for the suggestion Mike. However, when I try using the 'to more specific class', the control I'm passing in creates a non-typedef output. How do I go about making this a strict typedef?
0 Kudos
Message 3 of 5

Hi Newbie217,

the constant you connect on top has to be strict.



Message 4 of 5

An easy way to get the correct type is drag and drop the control onto the ref control.



Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep
My LabVIEW Ideas

LabVIEW, programming like it should be!
Message 5 of 5