LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

how to create pop up like in google search engine??

I have some data,which user have to use for operating software.Data is of varibale names which are <= 1000.

I have written algorithm which sorts and searches variable name which user will enter into text field.

 

Now I want it[text field] should show pop up like in google search engine when user type letters in text field.

Please see image.

I am using text field because I don't have space for any other API in my software GUI panel.

 

So is it possible in labwin???

 

 

google.jpg

0 Kudos
Message 1 of 3
(3,211 Views)

I can suggest you some alternative solutions, but none of them natively has the look and feel of browser search field.

 

You could use the toolbox Hot Ring control, which performs a incremental search based on the keys you press: the behaviour is more or like like the search field but it hasn't the list of searches below, you simply see the closest match on the single contol line displayed. The same will apply to the toolbox Combo box control.

 

Alternatively you could use a listbox, table or a tree to show some elements in your list, but you will need to code the search algorithm in the control callback by yourself (you can take a look at the hot ring control code for some hint on this).



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 3
(3,204 Views)

Thanks Roberto ,

I have coded search algorithm.

I will try one of your suggestion as per my space availability.

0 Kudos
Message 3 of 3
(3,198 Views)