WebCanvas.Invalidate

From Xojo Documentation


Method

WebCanvas.Invalidate(EraseBackground As Boolean = True)

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