LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Combo box properties

I was wondering about this, too.  There does not appear to be a simple way to programmatically drop-down a combo box.

 

So I created an idea in the Idea Exchange.

 

Go here to upvote it, and maybe NI will implement it:

 

http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Programmatically-drop-down-a-combo-box/idi-p/1617926

 

http://www.medicollector.com
0 Kudos
Message 11 of 13
(874 Views)

Hi josborne,

 

Have you considered to use Jon S (R&D) suggestion ?

I am adding my implementation to his offer.

This subVI needs the Combobox reference and he will "expand" the list by moving the Mouse cursor, simulate press and release and move the mouse's cursor back if you want....

 

Follow the Code...

Maybe you will not need some of the stuff such as terminating save screen mode, Disabling label visually...

 

I know this is a workaround, but I hope that you will find it useful.

 

Justin

0 Kudos
Message 12 of 13
(846 Views)

Thanks for all your suggestions.  I think I will just find a way to go without dropping down the combo-box programmatically.

 

I am very reluctant to include complex code that relies on mouse-clicks, window sizes and external DLLs in my app.  It just opens up a can of distribution and testing issues (e.g. do they have the DLL?  are they running a Mac?  Is it 64 bit or 32bit?).  Especially when all I want to do is drop-down a combo-box.

 

Thaks everyone.

http://www.medicollector.com
0 Kudos
Message 13 of 13
(829 Views)