LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

multiple selection in listbox without using ctrl key

Solved!
Go to solution

HI,

 

I wanted to know whether it is possible to select multiple items in a listbox without using ctrl key or shift key. I am writing a code for a touch screen application and want to enable the user to select multiple entries in a listbox.

I saw a similar post which had a solution for a tree control. Is it possible to do the same for a listbox control too?

 

-Pavitra 

0 Kudos
Message 1 of 23
(15,801 Views)

hi Pavitra,

I have tryed what u want.Selecting no. of values and deselecting in listbox is working but when u delecte last value u want double click on that value

try this VI 

 

Regards,
Santhosh M
0 Kudos
Message 2 of 23
(15,792 Views)

HI Santhosh,

 

Thanks for the reply.

Unfortunately, I cannot access this VI coz i am working on Labview 8. Is it possible for you to send me this vi as Labview 8 version.

 

Regards,

Pavitra 

0 Kudos
Message 3 of 23
(15,789 Views)

HI

For listbox what you can do it use Symbol (Right click on listbox > Visible Items > Symbols), when user click on any field you can change the symbol of that

So using this you can find which items are selected

Hope this helps

Regards

Santosh

 

Message Edited by SantoshJaiswal on 03-25-2009 07:03 AM
Message Edited by SantoshJaiswal on 03-25-2009 07:03 AM
0 Kudos
Message 4 of 23
(15,784 Views)

I already tried the symbol option. It isnt working.

 

Could you send a screen-shot of the code for the VI u posted? 

0 Kudos
Message 5 of 23
(15,770 Views)
Solution
Accepted by topic author pavitrabaxi
i have saved to previous version check zip file
Regards,
Santhosh M
0 Kudos
Message 6 of 23
(15,758 Views)

HI

Please find attached snapshot for symbols

0 Kudos
Message 7 of 23
(15,751 Views)
Thanks Santhosh!
0 Kudos
Message 8 of 23
(15,748 Views)
This is Santosh
0 Kudos
Message 9 of 23
(15,745 Views)
thanks to u as well!
0 Kudos
Message 10 of 23
(15,738 Views)