change icon at runtime

  1. 3 months ago

    michel b

    Jul 11 Pre-Release Testers France

    Hello everybody,

    is someone know a simple solution to change the icon of the application at runtime on OSX ?

    Thanks

    We have functions in MBS Plugin for that, too.

    See NSDockTileMBS class...

  2. Sascha S

    Jul 11 Pre-Release Testers, Xojo Pro Germany/W'haven

    Yes. As mentioned in many Threads in this Forum already, you can use DockItem for this. ;)

  3. Beatrix W

    Jul 11 Pre-Release Testers Europe (Germany)

    Don't use the Dockitem because it crashes on Mojave. Feedback doesn't want me to log in. When you do a search for "dock" you should find the Feedback issue.

  4. michel b

    Jul 11 Pre-Release Testers France

    @SaschaSchneppmueller Thanks
    @Beatrix W I hope they correct it for the next version

    Thanks

  5. Christian S

    Jul 11 Pre-Release Testers, Xojo Pro, XDC Speakers Answer Germany

    We have functions in MBS Plugin for that, too.

    See NSDockTileMBS class...

  6. Sam R

    Jul 11 Pre-Release Testers, Xojo Pro Hengchun, Pingtung, Taiwan

    @Beatrix W Don't use the Dockitem because it crashes on Mojave. Feedback doesn't want me to log in. When you do a search for "dock" you should find the Feedback issue.

    Forgive me, for I forgot to update my thread in regards to this. I was experiencing crashing; however Xojo have confirmed that it does work, once an Icon has been set. Which is missing from the demo project and the application I am working on.

  7. Jason P

    Jul 11 Xojo Inc http://xojo.com/

    @Beatrix W Don't use the Dockitem because it crashes on Mojave. Feedback doesn't want me to log in. When you do a search for "dock" you should find the Feedback issue.

    I believe that's this issue Feedback Case #52636. It's more subtle than "accessing it causes a crash". It's accessing it when the app has no assigned icon that causes a crash.

    The workaround is to assign the app icon, as Sam said.

  8. michel b

    Jul 11 Pre-Release Testers France

    @ChristianSchmitz Thanks, i will use this !

  9. michel b

    Jul 11 Pre-Release Testers France

    @Christian Schmitz
    is there a way in MBS to make the icon rebound ?

  10. Emile S

    Jul 11 Europe (France, Strasbourg)

    @michel b icon rebound

    Isn’t that a MacOS behavior ?

  11. michel b

    Jul 12 Pre-Release Testers France

    Yes It's a MacOS behavior, my original question is about MacOS (OSX) app.

  12. Sam R

    Jul 12 Pre-Release Testers, Xojo Pro Hengchun, Pingtung, Taiwan

    @Jason P The workaround is to assign the app icon, as Sam said.

    I just repeated it from a conversion with a Xojo engineer, I didn't figure out the solution to the crash.

  13. Emile S

    Jul 12 Europe (France, Strasbourg)

    @michel b Yes It's a MacOS behavior

    I rephrase it:

    This is an OS feature. Now can that be replicated ? Is there’s a Declare to make an Icon rebound ?

    >is there a way in MBS to make the icon rebound ?
    That question was not directed to me, sorry.

or Sign Up to reply!