03-07-2007 05:49 AM
03-07-2007 06:15 AM - edited 03-07-2007 06:15 AM
Message Edited by devchander on 03-07-2007 06:30 AM
03-07-2007 10:05 AM
The output of a listbox depends on which selection mode it's in. If you set the mode to 1 row only then you get an I32 out, if you set it to 1 or more rows you get an array of I32s out. You can select more than one row at a time by using the standard shift and cntl clicks on the listbox.
As far as retrieving column selection info, I don't think it's possible with the listbox in LV7.1 (maybe in ver 8+?). The table control however allows you to determine row, column and even selected range through the use of property nodes. Unfortunately, since it is designed for inputting text (the cursor is a text input marker rather than the pointing finger) it doesn't really make an intuitive selector control.
BTW, there is a really informative example called "listbox for file explorer demo". It doesn't incorporate any column selected options though.
12-18-2012 04:37 PM
I was just working with this and discovered that the listbox must be a control and not an indicator. Then the values array indicates the row.