ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Add a Drop down menu / Combo Box into a specified cell of a multi column lsit box

Hello,

i have a question how to manipulate a cell of a multi column list box in that way that i can add a drop down menu or a combo box in this cell?
Is this possible in LabView?

Thank you!
0 Kudos
Message 1 of 19
(19,462 Views)
Hi!
 
It is possible.
 
We have developed such module and currently we are using it in our projects.
 if you want more information email to support@viapl.com
 
kaustubh
VIAPL
0 Kudos
Message 2 of 19
(19,446 Views)

If your Multicolumn Listbox's size is going to be fixed [ fixed no. of Rows n Columns ], you can place those no. of Menu Ring controls or Combo Box controls & hide them at the initial stage of your VI. Then, when the user clicks on a particular cell of the ML box, you can pop the corresponding control from behind & show it & even allow the user to edit the value in it [only in the case of Combo control, text editing is possible].

This way you can make the user play hide & seek with the ML Box.

- Partha ( CLD until Oct 2027 🙂 )
Message 3 of 19
(19,443 Views)

Have a look at the below link & the attached VI.

http://forums.ni.com/ni/board/message?board.id=170&message.id=112875&query.id=522327#M112875

Replace the Table with the ML Box & try it out.

- Partha ( CLD until Oct 2027 🙂 )
Message 4 of 19
(19,439 Views)
Be aware that the example VI that Partha posted has a number of bugs in it, so you'll need to make changes to it in order for it to work properly. For instance:
  • Clicking on a table cell still displays the edit box behind the dropdown and there is drawing overlap.
  • The code does not handle clicking on another cell when the dropdown is active (i.e. canceling out the dropdown).
Message 5 of 19
(19,425 Views)

Attached you will find a barebones VI with a drop down menu (i.e an enum) arranged inside of a table (array).

 

I have not looked at the other VI posted here... I thought this would be a good challenge to try since I've never had to do this...sounded interesting.

 

I discovered I needed to use enum or ring thus the use of variant data type.

0 Kudos
Message 7 of 19
(18,573 Views)
This is done using LV 8.2
Message Edited by richjoh on 11-06-2008 04:27 PM
0 Kudos
Message 8 of 19
(18,573 Views)

May be this topic can help you:

http://forums.lavag.org/Table-with-Drop-Down-Items-t11249.html

Message Edited by Eugen Graf on 11-06-2008 05:00 PM
Message 9 of 19
(18,568 Views)

Wow, I took a look at the alternate code posted here at that really takes you through gyration (also a similiar comment I see on Lava) to perform what I've done with a few functions....

 

See the Pics and attached VI for how its done. KISS, I added an event stucture and changed my first enum case to " " (i.e. a blank) to make it look like the other posted code....

0 Kudos
Message 10 of 19
(18,544 Views)