Re: TImage resize problem



take a look at the Stretch property. That might do it too.

Gregor Fabritius wrote:
Found it! This did the trick:

procedure TSurface.FormResize(Sender: TObject);
begin
MainImage.Picture.Graphic.Width := MainImage.Width;
MainImage.Picture.Graphic.Height := MainImage.Height;
end;


Gregor

.