Mattias Gaertner wrote:
On Tue, 07 Aug 2007 14:12:19 -0300
Luiz Americo Pereira Camara <[EMAIL PROTECTED]> wrote:

As a change to a properly implementation i would propose to add a virtual method (DoMeasureTextPosition) to retrieve the TextLeft and TextTop values (see TCustomLabel.Paint). The default implementation
is equal to the current code in .Paint (I simplified a bit assuming
that R.Top and R.Left = 0, R.Bottom = Height)

The patch is attached.

Thanks. Applied.


Thanks for applying, Mattias.

Luiz

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

Reply via email to