06-29-2011 10:46 AM
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
06-30-2011 02:51 PM
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
07-01-2011 06:53 AM
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.