Turning pre-defined words red in RTBox as user types them.
Posted on 1999-01-10
I would like to be able to have my application change the colour of certain words as the user types them in a Rich Text Box. Can anyone suggest a way of doing this?
In other words, I would have a list of relevant words, for example: Weather, Sun, Rain, Cloud, etc and if the user typed a sentance like "The weather here is very wet at the moment, we're having a lot of rain." The words weather and rain would be turn red when the user had typed them.