DockItem.UpdateNow
From Xojo Documentation
Method
This method is only available on the macOS platform. For cross-platform compatibility, use #If...#Endif with the Target... specifiers to make sure you will not attempt to use this method on an incompatible platform. |
Redraws the icon.
Sample Code
This code draws an image (that has been added to the project) as the DockItem.
App.DockItem.Graphics.DrawPicture(MyDockIcon, 0, 0, 128, 128)
App.DockItem.UpdateNow
App.DockItem.UpdateNow