EControl Syntax Editor SDK
TCustomSyntaxMemo.ScrollPosY Property

Specifies visible vertical scrolling position of the syntax memo.

property ScrollPosY: integer;

Use ScrollPosY property to get or set current vertical scrolling position of the editor. ScrollPosY specifies top logical line. Logical line includes wraped lines and excludes invisible (hidden or collapsed) lines. Use LogToLine to get real line number and LineToLog to get logical line from real line number.

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