LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Search as you type in e.g. a listbox

Hi all

 

I got an idea for a small project that I am doing, but I have no idea where to start, so I am looking for some good advice/ideas, even want to hear if someone has done something similar Smiley Happy

 

I want to make a search function in my program like the Quick Drop search function in LabVIEW. I am thinking about something simple like a text field for the search field and a listbox for the "database" to search in. Please see attached VI for an non-working example Smiley Wink

 

Looking forward for some inputs

 

Best regards

Simon

LabVIEW 8.6 / 2009 / 2010
Vision Development Module 8.6 / 2009 / 2010
VBAI 3.6 / 2010
0 Kudos
Message 1 of 4
(3,839 Views)
You can find some examples in this thread. Note that the original version which appears in the thread was only a quick example and I added a version which does better searching near the end of the thread. You should be able to extract the search code itself fairly easily, as it's contained in a single VI, if memory serves.

___________________
Try to take over the world!
Message 2 of 4
(3,822 Views)

Hi

 

I can´t find the link

0 Kudos
Message 3 of 4
(3,478 Views)

There's code which is similar to the previous example at this link - http://forums.ni.com/ni/attachments/ni/130/9046/1/Intellisense.llb

 

Note that this was meant to show something else, but you can see how the filtering works there. In theory, this can be embedded in an XControl, but that's a bit complicated, mainly because XControls need to be completely contained within their containers, so having a list which pops up is difficult.

 

This example comes from this idea - http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Add-Intellisense-support-to-the-property-node/idi-p/15...


___________________
Try to take over the world!
Message 4 of 4
(3,453 Views)