[Lazarus] GTK2 EraseBackgound

Graeme Geldenhuys graemeg.lists at gmail.com
Fri Feb 5 16:35:18 CET 2010


On 5 February 2010 16:30, JoshyFun <joshyfun at gmail.com> wrote:
>
> Because in that case you are "fooling" the text content and prone to
> errors because the control must handle every possible way to get the

In fpGUI we introduced a new property called TfpgEdit.ExtraHint

That way it doesn't interfere with the actual text content - no matter
how it is set. The ExtraHint text is painted directly onto the
TfpgEdit background. But then again in fpGUI I have full control over
all components design - I don't know the various LCL backends and
there limitations on doing things.

Painting directly onto TEdit's background canvas - is that what you
are having issues with under GTK2?

-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/




More information about the Lazarus mailing list