TSRichViewEdit.OnPaint

<< Click to display table of contents >>

TSRichViewEdit.OnPaint

Occurs on repainting.

type

  TSRVPaintEvent = procedure(Sender: TSRichViewEdit; Canvas: TCanvas;

   Prepaint: Boolean; PaintRect: TRect) of object;

 

property OnPaint: TSRVPaintEvent;

The event occurs after repainting. You can draw something on top of default drawing.

Canvas – canvas where to draw.

Prepaint reserved for future use. This event occurs when the document is already painted.

PaintRect specifies the area that needs to be repainted. You can use this parameter to optimize drawing.

See also:

OnPaintPage

OnPaintComponent