JVCL Help:TJvCustomPage.OnBeforePaint

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Called before the page is painted.


Pascal

 TJvPageCanPaintEvent = procedure (Sender: TObject; ACanvas: TCanvas; ARect: TRect; var DefaultDraw: Boolean) ofobject;
propertyOnBeforePaint: TJvPageCanPaintEvent;


Parameters

Parameters Description
ARect The rect area to draw within.
DefaultDraw Variable that determines if the default drawing is to be performed after the event returns. Set this to false to suppress normal drawing of the page.
Sender The control that is calling this event.
ACanvas The canvas to draw on.


Description

OnBeforePaint is of type TJvPageCanPaintEvent and is called just prior to painting. Assign an event handler to this event to perform any special drawing before the default painting has started. To suppress normal drawing, set the DefaultDraw parameter to false.


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page