Re: [lazarus] Problem developing TCustomLabel descendant (and change proposition)

2007-08-16 Thread Mattias Gaertner
On Tue, 07 Aug 2007 14:12:19 -0300 Luiz Americo Pereira Camara [EMAIL PROTECTED] wrote: I'm developing a TCustomLabel descendant that will have a glyph painted in the left side of the text. I found that there's no way to set the position where the text is painted so i could have space to

Re: [lazarus] Problem developing TCustomLabel descendant (and change proposition)

2007-08-16 Thread Luiz Americo Pereira Camara
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