Recent

Author Topic: [SOLVED] ShowMessage dialogs - wrong icon  (Read 1170 times)

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user
[SOLVED] ShowMessage dialogs - wrong icon
« on: July 19, 2019, 03:06:03 pm »
The ShowMessage dialog appears with the macOS default generic icon rather than the application icon. See attached pic.
« Last Edit: July 20, 2019, 01:39:26 am by trev »

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: ShowMessage dialogs - wrong icon
« Reply #1 on: July 19, 2019, 03:21:39 pm »
is Application icon specified in Icon.plist ?

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user
Re: [SOLVED] ShowMessage dialogs - wrong icon
« Reply #2 on: July 20, 2019, 01:42:42 am »
I could have sworn that I had specified the icon file in the Resources/Info.plist file, but it seems that the app bundle has been regenerated at some point and it was not there.

Adding the Icon File key with the value MyApp.icns (located in Resources directory) fixed it.

Thanks again Dmitry.

 

TinyPortal © 2005-2018