Mattias Gaertner wrote:
On Wed, 21 Dec 2005 20:28:55 +0200
Markku Niskanen <[EMAIL PROTECTED]> wrote:
procedure TSimpleLine.Resize;
begin
inherited;
paint();
end;
Don't call paint in Resize. This will be done automatically.
It shouldn't be nesecary there, but if you ever want to repaint, use
Invalidate;
That way a repaint is sceduled till the next update.
Marc
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives