@Matze:

Zitat von
Nicolai1605:
Ich habe mir schon das Life of Luckie angeschaut, aber daraus wurde ich auch nicht schlau!
Was ist dein Problem? Auf einem Canvas Quadrate zeichnen:
Delphi-Quellcode:
PaintBox1.Canvas.Brush.Color := clRed;
PaintBox1.Canvas.FillRect(0,0,50,50);
Wars das was du gesucht hast?