11-24-2016 02:09 PM
I need to make a combo box that you can use to search, which remembers the last N amount of searches. It should also be able to remember in between runs and therefore I am okay with a file storage of some sort. I'm not sure of how to implement this however. Any help is much appreciated.
11-24-2016 10:42 PM
Needs more information on your requirenment.
11-25-2016 01:50 AM
Hi an123,
I need to make a combo box that you can use to search, which remembers the last N amount of searches.
A combobox holds an array of strings. You need to create this array of strings on your own: each new "search item" should be added to this array. Then limit the array to N elements…
It should also be able to remember in between runs and therefore I am okay with a file storage of some sort.
You need to save this string array to a file at program shutdown. At program init state you read in the file and populate the combobox again…