How do i custom draw of TEdit control text?

后端 未结 4 1478
生来不讨喜
生来不讨喜 2021-01-14 01:09

I\'d like to draw a piece of TEdit.Text using Font.Color different from the default. Are there any examples how to do that?

I\'m attempting to do something like thi

4条回答
  •  抹茶落季
    2021-01-14 01:24

    No. A standard tEdit does not have support for custom drawing or having text with multiple colors. As an alternative you can use a tRichEdit with WantReturns=False.

提交回复
热议问题