Draws the content for the control.
Source position: extctrls.pp line 452
protected procedure TPaintBox.Paint; override; |
Paint is an overridden procedure used to draw the control.
At design-time, a dashed black line is drawn around the area for the control and across its opposing corners. No other actions are performed in the method at design-time.
At run-time, the OnPaint event handler is used to render the content for the control using the Font and Color properties. The inherited Paint method is called to signal the event handler.
|
Event handler signalled to paint the control. |
|
|
Implements the default handler used to draw the control. |
|
|
The font to be used for text display in this control. |
|
|
The background color of the control. |
|
|
A clipped window into the parent Canvas. |