Can't load or open file macOS Catalina - Lazarus IDE v2.0.10 lazarus / 33-macOS - Mac OS X ---------------------------------------------------------------------- norosz123456 · 2020-10-25 11:27 Hello. I tried to load a picture for my Image object. On Windows it works, but on Mac I get every time this error message: --- Unable to open file "background.png" --- I tried .jpg and .bmp too... does not works. It is a simple code, but it does not works on Mac: Image1.Picture.LoadFromFile('background.png'); I tried create a new file (.csv file) with SaveDialog and it worked. I just can't open or load - read files. If somebody can, pls help me. Thank you! ---------------------------------------------------------------------- trev · 2020-10-26 03:45 This works for me on Catalina: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i procedure TForm1.Button1Click(Sender: TObject);begin  Image1.Picture.LoadFromFil e('/Users/trev/Documents/Bug_Test/smiley.jpg');end; or Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i procedure TForm1.Button1Click(Sender: TObject);begin  OpenDialog1.Execute;end; procedure TForm1.OpenDialog1Close(Sender: TObject);begin  Image1.Picture.LoadFromFile(OpenDialog1.FileName);end;   Alternatively, if the image is going to be part of the application's resources, see Locating the macOS application resources directory. ---------------------------------------------------------------------- norosz123456 · 2020-10-26 13:47 It is working now! Thank you very much!