Re: [Lazarus] Paint over TEdit control

2014-06-21 Thread Hans-Peter Diettrich
Krzysztof schrieb: I'm overriding protected PaintWindow method but seems that it is never called I had similar observations, when I wanted to paint borders around the control. It looks to me like the Windows EDIT control eats some messages :-( DoDi -- __

Re: [Lazarus] Paint over TEdit control

2014-06-21 Thread Graeme Geldenhuys
On 2014-06-21 11:01, Jürgen Hestermann wrote: > But that means that I have to abandon the LCL, correct? Hence I asked if it is a new project or has a well abstracted user interface. > Or can I mix LCL and fpGUI? No, not in the user interface. But you can use some base LCL (mainly non-GUI) units

Re: [Lazarus] Paint over TEdit control

2014-06-21 Thread Jürgen Hestermann
Am 2014-06-20 20:47, schrieb Graeme Geldenhuys: On 2014-06-20 18:09, Jürgen Hestermann wrote: I am also fighting with multicolor text in TLabels etc. ... And another aim I am trying to achive is an edit compontent with (self drawn) multi color text. Is there one? You can try the LCL-CustomDra

Re: [Lazarus] Paint over TEdit control

2014-06-20 Thread Graeme Geldenhuys
On 2014-06-20 18:09, Jürgen Hestermann wrote: > > I am also fighting with multicolor text in TLabels etc. > ... > And another aim I am trying to achive is an edit compontent > with (self drawn) multi color text. Is there one? You can try the LCL-CustomDrawn widgets, but last I checked they were

Re: [Lazarus] Paint over TEdit control

2014-06-20 Thread Jürgen Hestermann
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 l

Re: [Lazarus] Paint over TEdit control

2014-06-19 Thread 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 w

Re: [Lazarus] Paint over TEdit control

2014-06-19 Thread zeljko
On 06/18/2014 06:37 PM, Krzysztof wrote: Hi, Is it possible to paint over TEdit control? I need this for windows and linux (qt, gtk). For now I need only draw text No it's not. zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.or

Re: [Lazarus] Paint over TEdit control

2014-06-18 Thread Krzysztof
I'm overriding protected PaintWindow method but seems that it is never called -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Paint over TEdit control

2014-06-18 Thread Krzysztof
Hi, Is it possible to paint over TEdit control? I need this for windows and linux (qt, gtk). For now I need only draw text Regards. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/laz