LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Suggestion Strips for String/Combo Box

Hi,

Is it possible to display suggestion list when user types in String/Combo box which matches strings from a 1D array of strings, like in Google.

Example image of Google am showing below. I also wanted such a feature which help the user to select required input from the suggestions list

 

Alwin_Capsys_0-1684851318992.png

 

0 Kudos
Message 1 of 6
(998 Views)

My gut feeling says that, while it wouldn't be difficult, it would be tedious to set up.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 2 of 6
(989 Views)

Hi,

 Thank you for the reply. Ans am sorry to say that it doesn't meet my requirement. I hope string matching type (kind of) will be useful for me. Because if I am searching middle words also, it will be better to show the results as suggestion list. 

 

Here one example am showing. I have implemented it with a String control & a Multicolumn list box. When user types in string control, matching words will be displayed in the MCLB & user can select signal from that MCLB.

 

But I want both the things incorporated in a single function.   

 

Alwin_Capsys_0-1684859782180.png

 

0 Kudos
Message 4 of 6
(941 Views)

Elaborate

0 Kudos
Message 5 of 6
(940 Views)

@Alwin_Capsys wrote:

 

But I want both the things incorporated in a single function.   


Some options which can help you with that:

  1. An XControl, like the example linked to before.
  2. A .NET control which already does this (if one exists).
  3. Some tricks, like in this example, which launches a daemon to show the listbox.

 

If you want, my example here also has the bulk of the code for interacting with the listbox. You could probably merge all of these together into an XControl which would let you have a single control with a property node for setting the allowed strings.


___________________
Try to take over the world!
0 Kudos
Message 6 of 6
(882 Views)