EControl Syntax Editor SDK
TCustomSyntaxMemo.OnGetRightMargin Event

Occurs before rendering right margin.

property OnGetRightMargin: TGetRightMarginEvent;

Write ecSyntMemo.TCustomSyntaxMemo.OnGetRightMargin event handler to control right margin rendering for the specified Line. 

You may change RMargin position of right margin or change pen RightMarginPen, which is used to draw right margin.

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