Display simple markup in a Label in Delphi

前端 未结 5 1348
温柔的废话
温柔的废话 2021-02-13 21:22

I am currently displaying some text in a TLabel. I would now like to emphasise certain words within the text by displaying them in bold or perhaps italic

5条回答
  •  梦如初夏
    2021-02-13 21:54

    One more:

    Delphi Markup Label

    The Delphi Markup Label is a label component for Delphi that supports some HTML-like tags to format the displayed text. Amongst others, it supports tags for hyperlinks, tabs, font size, color and styles. The full list of tags can be found in the accompanying test tool.

    http://www.infintuary.org/stlabel.php Single pas file, compiled demo included. Some formatting is implemented via self-made tags so it won't be classic HTML. Has no transparence.

提交回复
热议问题