|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Textbox 'remembering' previous entriesHi,
How do I make a textbox remember previously entered data? You know, like the "Address" field in the Internet Explorer browser. This remembers previously entered URLs and drops them down... How do you code this? Any suggestions/comments/code-samples much appreciated. With thanks Al. ..NET 1.1 or .NET 2.0? because 2.0 has something like this already in the
combo box that allows entries like this <almu***@altavista.com> wrote in message Show quoteHide quote news:1144259702.678440.302740@z34g2000cwc.googlegroups.com... > Hi, > > How do I make a textbox remember previously entered data? You know, > like the "Address" field in the Internet Explorer browser. This > remembers previously entered URLs and drops them down... > How do you code this? > > Any suggestions/comments/code-samples much appreciated. > > With thanks > Al. > Hi Al,
The obvious answer would be to store the data (entries) somewhere. If this functionality is needed even after the program is restarted, then you would need to serialize it to a file, or store all entries in the registry perhaps. If, however, you need to persist such functionality only till the program is running, then you might consider storing it in an arraylist. HTH, Regards, Cerebrus. You may try Dynamic AutoComplete Tool
http://www.lamarvin.com/dact_default.asp -- Peter Macej Helixoft - http://www.vbdocman.com VBdocman - Automatic generator of technical documentation for VB, VB ..NET and ASP .NET code |
|||||||||||||||||||||||