Window.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. |
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.