Skip to main content

TdxBackground.OnPaint Event

Occurs when the report background is being painted.

Declaration

property OnPaint: TCustomdxBackgroundPaintEvent read; write;

Remarks

The OnPaint event handler is used to perform special actions when a report background is being painted on a device context, specified by the Sender parameter.

The Canvas parameter specifies the drawing surface.

The Rect parameter determines the rectangle where to draw the background.

The ADone parameter determines whether this method processes the entire operation and completes the Paint method.

The ASequence parameter determines whether the DoPaint method was called before or after background painting. Available values include:

Value Description
psBefore DoPaint called before background painting.
psAfter DoPaint called after background painting.
See Also