On 13/7/2011 20:37, Luiz Americo Pereira Camara wrote: >> but... >> BTW why is OnPaint called inside TCustomControl.Paint instead of >> TCustomControl.PaintWindow? > > PaintWindow -> Paint -> OnPaint I forgot http://docwiki.embarcadero.com/VCL/XE/en/Controls.TCustomControl.Paint Luiz