07-23-2015 07:22 PM - edited 07-23-2015 07:23 PM
Is there a programming language that allows dropdown structured with collapsable sections to avoid this kind of very long list? How would we call this kind of control?
Is there a way to do this in LabVIEW?
So a control that shows the selected item only, when we click the arrow button it would show the tree control to let user select his value.
07-24-2015 02:08 AM
I'm not aware of any, but I don't see any reason in principle why it couldn't be done.
The simplest solution to this is to use a combo box, which gives you the ability to type and does auto-complete.
A more involved one is this (comes from this idea), which allows you to filter the list by typing.
You could do a tree in an XControl, but the major problems with XControls is that:
07-24-2015 09:35 AM - edited 07-24-2015 09:36 AM
Umm, looking now I can see that there is a VI deactivation event in recent versions (and now I seem to remember that I did actually know about it), so I wanted to test it (also for other potential XControls with popups). How's this as a start (2013, should hopefully work)? The example builds a tree of folders, so you need to give it a top level path before running it. I didn't bother with any cleanup or setting up the sizes properly.