Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I implement intellisense-like suggestion boxes for a winforms textbox?

We have a textbox that the user enters sets of terms into, delimited by commas and separated by newlines. There may be thousands of valid terms, so we'd like to offer the user intellisense-style suggestions as they type. The default autocomplete isn't adequate because it will only do prefix-matching on the entire textbox, and won't support multiline textboxes. How do I implement intellisense-like suggestion boxes for a winforms textbox?

like image 253
Simon Avatar asked Sep 06 '25 02:09

Simon


1 Answers

I wrote this article back in 2005 about doing intellisense with a listbox and a textbox control (or it might have been a RTB). It's far from polished or perfect but might get you started.

like image 93
Chris S Avatar answered Sep 07 '25 19:09

Chris S