2010/8/19 Felipe Monteiro de Carvalho <felipemonteiro.carvalho at gmail.com>: > I don't see your drawing code in that forum post. Download the attachement. http://lazarus.freepascal.org/index.php?action=dlattach;topic=10237.0;attach=991 The TMyControl.Paint method contains the drawing code. Vincent