Just to complement the answers so far, avoiding flickering is very well documented here: http://wiki.lazarus.freepascal.org/Developing_with_Graphics#Create_a_custom_control_which_draws_itself Follow the simple rules there everything will work fine. -- Felipe Monteiro de Carvalho