[Lazarus] TextHint in TComboBox

Ondrej Pokorny lazarus at kluug.net
Fri Aug 14 08:32:36 CEST 2020

On 13.08.2020 21:33, Juha Manninen via lazarus wrote:
> On Thu, Aug 13, 2020 at 9:54 PM Ondrej Pokorny via lazarus
> <lazarus at lists.lazarus-ide.org> wrote:
>> So for TMemo we need the emulated code, which works now with a minor bug
>> (the TextHint is not visible when the form is shown the first time).
>> Strangely the bug is present only in a themed application, not in an
>> unthemed one.
> Please test with the demo by Lagunov Aleksey in
>   https://bugs.freepascal.org/view.php?id=37553
> adding the line
>   Memo1.TextHint:='My own TextHint';
> as seen in my note.
> Also remember to change function TCustomMemo.CanShowEmulatedTextHint.
> It now returns False always.
> The emulation does not work with GTK2.

Why have you removed the (FTextHint <> '') check in CanShowEmulatedTextHint?

Why should the emulated text hint be shown if there is none?


More information about the lazarus mailing list