EControl Syntax Editor SDK
TCustomSyntaxMemo.OnBeforeLineDraw Event

Occurs before the specified Line is painted.

property OnBeforeLineDraw: TLineDrawEvent;

Write an OnBeforeLineDraw event handler to limit line painting, for example, you may change clipping region to restrict line painting. 

Line is the index of the painted line.

Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!