LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple Selection Property in Single Column Listbox

Hello All,

 

I have taken a Single-column list box and have enable the multiple selection property of the listbox.

 

In fact, i want to find out the values of the multiple rows selected in the listbox. But, i couldn't found any of the property of this listbox that can indicate the index or value of the multiple lines that are selected.

 

Can anybody help me to resolve this issue? What is the approach i can take to find out the multiple rows selected in the listbox?

 

Regards,

Nishant

0 Kudos
Message 1 of 6
(5,028 Views)

The indicator is a 1D I32 array that contains the indexes of the selected rows. Have you looked at it? Don't know why you would want to use a property node but the Values property would return exactly the same thing.

 

Message Edited by Dennis Knutson on 02-09-2010 12:44 PM
0 Kudos
Message 2 of 6
(5,023 Views)

Nishant wrote:

Hello All,

 

I have taken a Single-column list box and have enable the multiple selection property of the listbox.

 

In fact, i want to find out the values of the multiple rows selected in the listbox. But, i couldn't found any of the property of this listbox that can indicate the index or value of the multiple lines that are selected.

 

Can anybody help me to resolve this issue? What is the approach i can take to find out the multiple rows selected in the listbox?

 

Regards,

Nishant


Select Mode.PNG

Here is an example where the value is read from a property node.

the Value becomes an array when you elect a selection mode that allows multiple selections. (and thats the reason you can't write Selection mode while the VI is running

 

 


"Should be" isn't "Is" -Jay
Message 3 of 6
(5,011 Views)

Hello Dennis.

 

First of all thanks very mcuh for the response but i am not sure whether it will work this way.

 

The indicator does not show the index of the selected rows.

 Sorry to ask you but can you please provide me a .VI in which you have created this?

 

Looking forward to your prompt and positive reply.

 

Regards,

Nishant

0 Kudos
Message 4 of 6
(5,007 Views)
The indicator does show the index of the selected rows.
0 Kudos
Message 5 of 6
(5,003 Views)
Hello All, Thanks very much for such a good response guys! Regards, Providern
0 Kudos
Message 6 of 6
(4,979 Views)