-
May 22nd, 2008, 11:54 PM
#1
TextBox that cache the previous Text.
I want to make text box control that cache the previous type Text in the text box.
It's just like the Text box in Search Function that belongs to Windows OS.
When I type something in that text box some Text that typed previously is appear drop downed.
Please give me a starting point to do create a control like this.
Thanks B4.
-
May 23rd, 2008, 12:47 AM
#2
Re: TextBox that cache the previous Text.
Well, first, you should have a list with the history (previous entered texts). Then you should also have a listbox to display it. Then you handle the KeyPress event for the textbox and display the listbox. I suppose that you want to filter it, so that you search the history list for everything that starts with the current text in Textbox and display only that in the listbox.
-
May 25th, 2008, 08:34 PM
#3
Re: TextBox that cache the previous Text.
Is there any link that explain about best approach for this problem??
-
May 25th, 2008, 08:39 PM
#4
Re: TextBox that cache the previous Text.
what's in the textbox? if you query some table, then you'd remember the values, or else, all possible values
-
May 25th, 2008, 08:41 PM
#5
Re: TextBox that cache the previous Text.
No database...
It just a textBox that remember the previous Text that type in it...
just like the textBox in Windows search...
-
May 25th, 2008, 09:04 PM
#6
Re: TextBox that cache the previous Text.
that remembers search terms. describe what you want, and give as many details as possible
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|