Sign in Join
FPDoc Onlineexperiment

TImagePaintBackgroundEvent procedure type

In unit ExtCtrls

Specifies an event handler signalled to draw the background for an image.

Declaration

pascal
TImagePaintBackgroundEvent = procedure(ASender: TObject; 
 ACanvas: TCanvas; ARect: TRect)
 of object

Arguments

ASender

Object for the event notification.

ACanvas

Canvas for the image is drawn.

ARect

Rectangle with the dimensions for the image.

Description

TImagePaintBackgroundEvent is an object procedure which specifies an event handler signalled to draw the background for a TImage class instance. TImagePaintBackgroundEvent is the type used to implement the OnPaintBackground event handler in TCustomImage.

See also

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