Hi!
Need help again ...
I've made application that send email.
I want to make some sort of history, like you've at browsers...I mean something like comboboxes under textfield in what would be written usernames,passes,...what's written before.
I've tired to write code that will take text, make file and write it in file..but it haven't done what it should...
Sorry for my bad english!
Thanks!
L
Ok thanks Maybe it will be a stupid question,but will the string that I added to list of strings stay in same form and won't delete?Or should I make something with txt file or...?
Michael Dunn
Ranch Hand
Joined: Jun 09, 2003
Posts: 4632
posted
0
if you want to create a history for lookups, you'll have to save them.
the idea is for the history to be loaded into the program, then, if the
user double-clicks into a textfield, a popup displays the history (can be sorted).
if the user types a 't' into the textfield, the history shown in the popup is
filtered to only those items starting with a 't'. if the next letter typed is 'h',
the history shown in the popup is filtered further to only those items
starting with 'th'. etc.
go through the examples you find on google (should be many), and see
what 'saving' method works best for you.