procedure Form1.DrawBitmap(const Filename: String; const x,y: Integer); var Bmp: TBitmap; begin // Make sure the file exists first! if not FileExists(Filename) then begin ShowMessage('The bitmap ' + Filename + ' was not found!'); Exit; end; Bmp := TBitmap.Create; try Bmp.LoadFromFile(Filename); Canvas.Draw(x, y, Bmp); finally Bmp.Free; end; end;