EControl Syntax Editor SDK
TCustomSyntaxMemo.TopLine Property

Specifies number of a top visible line.

property TopLine: integer;

Use TopLine property to get or set number of a top line. Assigning value to TopLine is equivalent to

ScrollPosY := LineToLog(TopLine, 0);

Use ScrollPosY to define exact scrolling position.

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