AdvListView Highlight Text

Hi,


I'm using a TAdvListView and I want to highlight text. I have a Tedit and in the OnChange event I call the listview.HilightInList procedure passing the text from the TEdit.

I have set the HTML prefix and suffix tags for the AdvListView to match that in the AdvListView demo.

As I type, the characters are surrounded with <hi> </hi> tags instead of actually highlighting the text.

It seems as though the AdvListView is not interpreting the tags and instead just displaying them as text.

Is there something else I need to do to get the AdvListView to display HTML?

Thanks

Can you set AdvListView.OwnerDraw = true

That did the trick. Many thanks.