取消
显示结果 
搜索替代 
您的意思是: 

AutoComplete with Drop down - LV Obsolete?

已解决!
转到解答

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

0 项奖励
1 条消息(共 12 条)
6,689 次查看

You can try something like this:

Dropdown.png

 

 

2 条消息(共 12 条)
6,675 次查看

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

3 条消息(共 12 条)
6,646 次查看
Instead of contacting NI Support, you need to use the Idea Exchange.
0 项奖励
4 条消息(共 12 条)
6,628 次查看

What is the Idea Exchange?  I've never used it before...Link Please?

0 项奖励
5 条消息(共 12 条)
6,619 次查看

Glad to help,

 

I did forget the mouse click selection, this might do the trick:

Dropdown.png

6 条消息(共 12 条)
6,618 次查看
解答
接受人 Dhubbell

Or just update the box where you were already typing 🙂

 

Dropdown.png

7 条消息(共 12 条)
6,604 次查看

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

0 项奖励
8 条消息(共 12 条)
6,596 次查看
Do you see on the right side where it says LabVIEW Ideas? Click it.
0 项奖励
9 条消息(共 12 条)
6,565 次查看

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.

0 项奖励
10 条消息(共 12 条)
6,528 次查看