From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-11-2015 12:09 AM
Is it possible to show multiple suggestins (around 5 numbers ) in a combo box during autofill (like google search)
07-11-2015 01:18 PM
Do you only have a set number of entries that will work successfully? If so, you might be better off with the dropdown menu you'd create with the enum control.
Otherwise, you'll need to work with event structures to monitor when a key is pressed (value change won't take effect until you leave the control), read what's currently in the control, compare it against a dictionary, create the algorithm to determine what to suggest to fill it in, find a way to make the suggested part appear different, place the cursor where you want it, and put a mechanism in place to remove the old suggestion after each key press.
The time spent putting that together doesn't sound like something where it'd be worth the investment.
07-12-2015 12:04 AM
@karthik9 wrote:
Is it possible to show multiple suggestins (around 5 numbers ) in a combo box during autofill (like google search)
Yes, of course its possible. It would be a non-trivial efffort. Google invested considerable man-hours developing and improving that search feature. If someone asks you - "Heck, Google does it why can't you?" just quote the the correct time and materials estimate. Yup Google invests a boat-load of money to do this "simple" thing. Simple for the users that is... not so simple for the developers but the developers got paid a few years salary each to build that "Simple" feature.
And you want to duplicate that on any scale? Good job security! what would you like for take home pay for the next few years?
07-12-2015 12:40 AM
You can't do this in a combo box (it doesn't show the list when you type), but you can do this by showing a listbox below the text. You can see an example here - http://forums.ni.com/ni/attachments/ni/130/9046/1/Intellisense.llb
Note that this example doesn't do autocomplete, but rather a search, so its algorithm may be different from what you need. You might also have some issue with when to show and hide the listbox, because you don't have focus gained and lost events (in that example, the listbox is just visible all the time because it's a popup).
07-14-2015 07:40 AM
This might be useful. It is an example combo box that has auto complete (like QuickDrop) and adds a filter. It isn't perfect but the idea is you type in some string and it will then populate a dropdown with options that contain what you typed. So if you type "Br" all the names that contain "Br" will be in the drop down.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
07-14-2015 11:13 PM
Could you please send the file in labview 2012 format
07-15-2015 05:25 AM
Here you go.