rvico TRichView Reference | TRichView

TCustomRichView.OnPaint

Top  Previous  Next

Allows painting over the richview document

type

  TRVPaintEvent = procedure (Sender: TCustomRichView; 

    Canvas: TCanvas; Prepaint: Boolean) of object;

 

property OnPaint: TRVPaintEvent;

(introduced in version 1.7)

Parameters:

Canvas – canvas for painting.

Prepaint – reserved for future use.This event is called when all standard painting is done.

 

This event does not affect printing (see OnPagePrepaint, OnPagePostpaint).

 

Demo project:

Demos\Delphi\Assorted\Custom Draw\CustomDraw\

Demos\CBuilder\Assorted\Custom Draw\CustomDraw\


TRichView © trichview.com