Sign in Join
FPDoc Onlineexperiment

TNotifierForm.Paint procedure

Member of TNotifierFormpublicIn unit PopupNotifier

Draws the form background and icon image.

Declaration

pascal
procedure 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.