On Fri, 3 Mar 2006 08:33:25 -0300
"Felipe Monteiro de Carvalho" <[EMAIL PROTECTED]> wrote:
> On 3/3/06, Mattias Gaertner <[EMAIL PROTECTED]> wrote:
> > Yes, not to paint, but to measure:
> > Flags:=DT_CalcRect
>
> Yes, I noticed that on both calls DT_CalcRect is used.
>
> So what is the call that acctually does the painting?
TCustomLabel.Paint > Canvas.TextRect
> > > Is this a correct way?
> >
> > Looking good, but I'm no qt expert.
>
> It processes correctly a TCustomForm.OnPaint event.
Yes, but I don't know, if the exception handling in a qt callback works.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives