WebCanvas.Invalidate
From Xojo Documentation
Supported Platforms Project Types: Web Platforms: macOS, Windows, Linux |
Method
WebCanvas.Invalidate(EraseBackground As Boolean = True)
New in 2013r1
Supported for all project types and targets.
New in 2013r1
Supported for all project types and targets.
Similar to Refresh, but rather than forcing a redraw immediately, it waits until the net time the Canvas is scheduled to be redrawn. Using Invalidate is more efficient than using Redraw.
Sample Code
Tell a graph canvas that it needs to be redrawn, perhaps because the data used in the graph has changed:
GraphCanvas.Invalidate