Hi
I told you already!!!
Use the 'OnPaint' event of the 'TPanel' it's concerning, otherwise the painting won't stay!
Hrmpf - /b
edit: Your job is to find a way, to make all the panels use the same event-handler... So you don't need 100 different, but equivalent OnPaint-handlers...