[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 the method, and does not call the inherited method.

See also

#lcl.forms.THintWindow.Paint

  

Draws the content in the hint window.

#lcl.controls.TCustomControl.Canvas

  

The drawing surface for the control.

#lcl.graphics.TCanvas.FillRect

  

FillRect - draw a filled rectangle in the specified coordinate space, using the method for the current interface or widget set.

#lcl.graphics.TPicture.Bitmap

  

Bitmap - Returns a bitmap.

#lcl.forms.TCustomForm.Color

  

The background color for the form.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.