views:

262

answers:

2

hello, does anyone know about a windows forms control that acts like the address bar of a browser?

it is just like a textbox, but to the right there is a dropdown menu that shows the history of previously entered text.

thanks a lot!

+1  A: 

You can use a ComboBox for this. Just add the previous entries to the item list. If what you actually want is AutoComplete, the WinForms Edit control supports that natively.

OregonGhost
+3  A: 

Look at properties "AutoCompleteCustomSource", "AutoCompleteMode" and "AutoCompletesource" on TextBox class.

TcKs