[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'CalendarPopup' (#lcl)

TCalendarPopupForm.Paint

Implements the default paint handler used to draw the control.

Declaration

Source position: calendarpopup.pas line 47

protected procedure TCalendarPopupForm.Paint; override;

Description

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.

See also

TCustomControl.Paint

  

Implements the default handler used to draw the control.

TCustomControl.OnPaint

  

Event handler signalled to paint the control.

TCustomControl.PaintWindow

  

The Paint handler plug-in, intercepting paint requests.