Hi!
You can use SelectedBackColor and SelectedForeColor properties. Set selected back color the same as usual back color. Set selecte fore color to the color you want to use for typed text. Than track typed string and use combobox.slstart=1 and combobox.sellength = len(TypedString).
You can look also how others done this, in the files section you can find 2 or more interactive search comboboxes.
> I thought about something I think it could become very handy... A combobox that as the user is typing in, displays what the user has typed with a blue background, and displays any matching value with the usual colour.
>
> I tried to do some tests, but it's a bit more dificult than what it seemed...
> Shoud I use an array or a table for the source? If I use a table I could SET FILTER to what the user typed... but how to display what he wrote in blue and the rest normal?
>
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.