If I select an svg image in the picture property, it is not displayed. The png image appears correctly.
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:
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:
I get this run-time:
What am I doing wrong?
Try to add a dummy tag likeat 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.