Closed MyBuzzTechnologies closed 8 months ago
Very interesting. I'll check that out.
So, the interesting fact is that this happens between Delphi's own controls. If you place two TPaintBox and in one of them you set the font to Bold on the canvas, depending on the display order of the components, the next one will get the Bold font style too, even though the canvas object of each one is specific.
Done!
'This is <B>bold text</B>'
NOTE: The important thing is that the must be the last thing in the string.
'This is <B>bold text</B>.'
It seems like the DzHtmlText label isn't restoring the canvas state after rendering.