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

# TNotifierForm.Paint

Draws the form background and icon image.

## Declaration

Source position: popupnotifier.pas line 68

`public procedure TNotifierForm.Paint; override;`

## Description

Paint is an overridden method in TNotifierForm used to render the form to its Canvas using values in the Color and ImgIcon properties. Canvas is updated with the brush style and color needed, and its FillRect method is called to paint the background for the form. The bitmap in ImgIcon is drawn on the Canvas when it has been assigned.

Paint re-implements and does not call the inherited method.

## See also

TCustomControl.Canvas |  | The drawing surface for the control.
TCanvas.FillRect |  | Fills a rectangular area on the canvas using the current Brush settings.
TPicture.Bitmap |  | Bitmap - Returns a bitmap.
TCustomForm.Color |  | The background color for the form.
THintWindow.Paint |  | Draws the content in the hint window.