Event fired whenever a PaintBox object needs to be redrawn.

Parameters

none

Property of

PaintBox

Description

onPaint is called whenever a PaintBox object needs to be redrawn. Events that trigger onPaint include:

the parent form is opened

a minimized parent form is restored or maximized

a window or object which has been covering the paintbox object is moved away