EControl Syntax Editor SDK
TCustomSyntaxMemo.OnCaretPosChanged Event

Occurs when the caret position changes.

property OnCaretPosChanged: TNotifyEvent;

Write an OnCaretPosChanged event handler to take specific action whenever the position of syntax memo's caret has changed. The CaretPos property of the syntax memo will already be updated to reflect any changes. For example, you may use this event handler to update caret position label on the status bar.

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