Window.UpdateNow

From Xojo Documentation

Method


Window.UpdateNow()

Supported for all project types and targets.

Flushes the back buffer on macOS windows. UpdateNow does not function unless ImplicitInstance is True. If ImplicitInstance is False, it will produce a compiler error.

Notes

Because macOS is double-buffered, drawing is accumulated before being shown on screen. You may want to flush the buffer manually after updating a progress bar, drawing the frame of an animation on a canvas, or other things of a similar nature. UpdateNow has no effect on Windows and Linux.