Am 2014-06-20 08:06, schrieb Graeme Geldenhuys:
On 2014-06-18 17:37, Krzysztof wrote:
Is it possible to paint over TEdit control? I need this for windows and
linux (qt, gtk). For now I need only draw text
You can't. The stock LCL controls are not meant for customisation - they
are for native look only and for adhering to the underlying widgetset's
themes. If you want customisation, use custom drawn components instead.
I am also fighting with multicolor text in TLabels etc.
Currently I am simply painting into the form which works reasonable
(and is asonishing fast) but then I have to do all the other things like
anchoring, repainting, storing displayed text etc. myself too.
Can you name some custom drawn compontents that could
replace for example a TLabel component.
And another aim I am trying to achive is an edit compontent
with (self drawn) multi color text. Is there one?
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus