I've got a TImage component on a form.
The form is 500x500 and the TImage component is 480x500 and it's anchored [akTop, akLeft, akRight, akBottom]
In the Form.Resize procedure I have Image1.Canvas.Brush.Color:=clBlack;
Image1.Canvas.FillRect(0,0,Image1.Width,Image1.Height);
I'm expecting the TImage to be painted black when the form is resized.
However, if the form is maximised, only a rectangle on the top left 480x500 is painted black.
What do I need to do to ensure that this behaves as expected?