(sorry if this message comes through twice)

Hi,

I am parsing a textfile into a richedit control, and want to highlight
certain words.
I can do this by changing the fontcolor like this:

if(/wordtohighlight/) {
    $Textbox->SetCharFormat(-color => "#555555");
}
while parsing the file,

but I can't find how to change the background color for the same words (not
the whole page)
I know the control supports it, as it displays text that was highlighted in
Word just fine.
Any ideas?

Richard.


Reply via email to