Delphi: using TextHint in a multi-line text component like TMemo or TRichEdit

TextHint is a TEdit property that allows you to display targeted text in a text field when the text field is empty.

I want to put the same hint in TMemo or TRichEdit, since the TEdit component does not allow multi-line.

How can I use TextHint inside a multi-line text control in Delphi? The TextHint property does exist in the TMemo and TrichEdit components, but it does not seem to have an effect.

Thanks in advance.

+4
source share
1 answer

TextHint EM_SETCUEBANNER. Windows :

.

+7

Source: https://habr.com/ru/post/1684333/


All Articles