12-18-2015 10:30 AM
I've been hunting and searching for a solution in the LV forums to use an Autocomplete with a drop down menu. Don't act like you don't know what I'm talking about. You see it all the time in many different applications. Heck even this forum uses Autocomplete with Drop Down (Attached).
I've seen recent posts that state "OMG only GOOGLE can do that fancy stuff, not mere LV mortals."
I think Labview is falling behind the curve with developer tools while other software continues to improve. I've seen post here asking about this feature 8 years ago and still no answers.
I have other ideas I can use, but, they're not as graceful as a an Automatic Drop Down menu.
Here's what I need. As the user types, a drop down list (from my ARRAY) is narrowed as they type.
The combobox is almost there...however, the combobox only works on the first match (doesn't show other matches), and it doesn't have a drop down, it does have pull down.
JQuery seems to be very popular today, has anyone tried using JQuery with Labview?
https://jqueryui.com/autocomplete/
Does anyone know how to "Autocomplete with Drop Down" in Labview?
Thanks,
Doug
Solved! Go to Solution.
12-18-2015 10:47 AM
You can try something like this:
12-18-2015 11:32 AM
Thank you gregoryj!
This will work! Much better than anything else I've seen. All I need to do is grab the "value" of the "Array" to extract the choice. It's missing an autocomplete tab function, but, I'll settle for an addtional user mouse click.
Thank you! Thank You! Thank you!
I do believe this should be as common as a front panel drop-in similar to a combobox in Labview tools.
gregoryj you truly made a more graceful option.
I contacted NI Support too. I hope NI realizes "Autocomplete with Drop Down" isn't just a "fad" and hopefully they will develop a more complete tool for us to use in Labview.
Doug
12-18-2015 11:49 AM
12-18-2015 12:05 PM
What is the Idea Exchange? I've never used it before...Link Please?
12-18-2015 12:05 PM
Glad to help,
I did forget the mouse click selection, this might do the trick:
12-18-2015 12:11 PM
Or just update the box where you were already typing 🙂
12-18-2015 12:22 PM
Many Thanks gregoryj !
Brilliant!
I can see many people using this snippet over and over again. I was completely surprised to find no answers and requests for this feature going unanswered for over 8 years.
Not only have you provided me something I can use, but, this will be a great building block for many other people. Hopefully NI will see this and develop a common front panel add-on. Autocomplete with drop downs is in every application now a days.
Thank you again for your help and support.
Doug
12-18-2015 01:43 PM
12-18-2015 04:48 PM
No Dennis, I do not see "Labview Ideas". NI Support contacted me and gave me a direct link here:
http://forums.ni.com/t5/NI-Idea-Exchange/ct-p/ideas
Seemed like a lot of ideas stacked there. I wonder if any ideas are ever accepted.
Again, Thank you Gregory! Your snippet is all I needed. It's a powerful solution and it will definitely work for my needs.