TAdvMetroTile not show SVG Picture

If I select an svg image in the picture property, it is not displayed. The png image appears correctly.

obraz

Hi!

I try to do the same, but using the TAdvSvgImageCollection and TVirtualImageList. Until now I used Pictures loaded into the button to get this result:

image

Now I wanted to move to SVG to solve some resolution problems I had on various computers. I assigned the ImageList of the button, but don't know how to get the image on the button (there is no ImageIndex property). It's only usable via Caption property of the button? If I define button.Caption property like this:


Payment

I get this run-time:
image

What am I doing wrong?

Try to add a dummy tag like

at the end of the string.
Detection whether the text should be rendered as HTML or not is based on the presence of '</' to make it fast.