Sign in Join
FPDoc Onlineexperiment

TCustomImage.OnPaintBackground property

Member of TCustomImagepublicIn unit ExtCtrls

Event handler signalled to draw the background for the image.

Declaration

pascal
property OnPaintBackground: TImagePaintBackgroundEvent read FOnPaintBackground write FOnPaintBackground;

Description

OnPaintBackground is a TImagePaintBackgroundEvent property which implements an event handler signalled to paint the background for an image. OnPaintBackground is signalled from the Paint method using the Canvas and DestRect for the image as arguments. The event occurs immediately prior to the image being drawn using its canvas handle.

See also

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