On 10/11/15, Ondrej Pokorny <laza...@kluug.net> wrote:

> The fact that TextHint uses the "normal" Text property in TEdit sounds
> more a hack to me. Such custom painting could be safely used for
> TComboBox as well.

Yes it is.
We did it that way because not all widgetsets natively support such a
feature (or at least we were not aware of this).
And we were not willing to make TCustomEdit "custom painted".

TextHint is natively supported on Windows (and most likely on WinCE)
via a system API.
If (and only if) this can be achieved via all other widgetsets (QT,
GTK2, Carbon, Cocoa) the hack can be removed and the code can be moved
to the widgetset implementation.

So, does anybody know wether the other widgetsets offer this
functionalitly natively?

Bart

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to