On Wed, 30 May 2007 22:17:57 +0200
"A.J. Venter" <[EMAIL PROTECTED]> wrote:

> > > > Maybe you can try TSpeedButton instead of TBitBtn.
> > > That would only work if I painted the Caption myself would it
> > > not ?
> >
> > TSpeedButton has a Caption. Default is ''.
> >
> >
> > > In
> > > which case... it gets even MORE custom painting... not sure it's
> > > worth it.
> >
> > Did you try?
> Heh, point made :)
> Question then: so what IS the difference between TBitBtn and
> TSpeedButton ? In general, but also specifially before it's worth
> trying, it's worth knowing if their disabled paint code are in fact
> different.

The disabled TBitBtn flickers, because the grayed image is created
during paint. TSpeedButton does not gray the image, but paints delayed
(gtk1 intf). So it might flicker less for small buttons.


Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to