PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms Multiline TextBox with Autocomplete?

Reply

Multiline TextBox with Autocomplete?

 
Thread Tools Rate Thread
Old 12-01-2007, 08:16 PM   #1
=?Utf-8?B?UGF1bCBGb3VudGFpbg==?=
Guest
 
Posts: n/a
Default Multiline TextBox with Autocomplete?


I have noticed that Autocomplete stops working when you set a TextBox to
Multiline. Is this the designed behavior? Is there any way to make it work,
other than developing your own custom control? I would also like to see a
behavior where the list of suggested items resets after each space, so in
other words you could use Autocomplete multiple times in the same TextBox.

Do I have to start developing my own control for this?
--
Paul Fountain, Software Engineer
InsureMe
  Reply With Quote
Old 15-01-2007, 03:47 AM   #2
Bryan Phillips
Guest
 
Posts: n/a
Default Re: Multiline TextBox with Autocomplete?

Yes, this is by design. However, you could subclass the TextBox and
override the design. Take a look at the TextBox class in the Reflector
utility from http://www.aisto.com/roeder/

--
Bryan Phillips
MCSD, MCDBA, MCSE
Blog: http://bphillips76.spaces.live.com



"Paul Fountain" <PaulFountain@discussions.microsoft.com> wrote in
message news:6E218A1D-1EF0-4B83-8297-FEEC7A700DA2@microsoft.com:

> I have noticed that Autocomplete stops working when you set a TextBox to
> Multiline. Is this the designed behavior? Is there any way to make it work,
> other than developing your own custom control? I would also like to see a
> behavior where the list of suggested items resets after each space, so in
> other words you could use Autocomplete multiple times in the same TextBox.
>
> Do I have to start developing my own control for this?
> --
> Paul Fountain, Software Engineer
> InsureMe


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off