DockItem.UpdateNow

From Xojo Documentation

Method


DockItem.UpdateNow()

Supported for all project types and targets.

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