I have a very long procedure and a form. On this form I have many graphs.
It is still interesting, because if I place a PaintBox on this Form, then for some reason I cannot draw the line I want. If I give a PaintBox to an other (empty) form, then it works. So I still don't understand...
Right now I work with these 2 lines:
PaintBox1.Canvas.Pen.Color:=clBlack; PaintBox1.Canvas.Line(PaintBox1.Left+20,PaintBox1.Top+PaintBox1.Height,PaintBox1.Left+20,PaintBox1.Top);
On 1 form it doesn't work, on the other it does...