[Overview][Types][Classes][Procedures and functions][Index] |
Implements the default paint handler used to draw the control.
Source position: calendarpopup.pas line 47
protected procedure TCalendarPopupForm.Paint; override; |
Paint is an overridden method in TCalendarPopupForm. It calls the inherited method on entry to signal the OnPaint event handler (when assigned).
Paint ensures that the Canvas for the control is updated so that Pen color is clWindowText using a solid pen style. The Rectangle method for the Canvas is called to draw the bounds for the control represented by the Width and Height for the control.
Paint is called from the PaintWindow method in the ancestor class, and occurs when a LM_PAINT message is handled for the control.
|
Implements the default handler used to draw the control. |
|
|
Event handler signalled to paint the control. |
|
|
The Paint handler plug-in, intercepting paint requests. |