10-01-2012 12:54 AM
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???
10-01-2012 02:02 AM
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).
10-01-2012 06:03 AM
Thanks Roberto ,
I have coded search algorithm.
I will try one of your suggestion as per my space availability.