TApxTerminalBuffer.Row

TApxTerminalBuffer

property Row : Integer 

Defines the row of the cursor.

The Row property refers to the cursor. Reading the Row property returns the row number of the cursor, and setting it moves the cursor to that row in the same column.

The value used for the Row property is one-based; in other words, rows are counted from 1. If there are 24 rows down the terminal screen, the rows will be known as rows 1 to 24. If the row number used is out of the range of the screen or the current scrolling region, it is forced silently into bounds.

If a scrolling region is activated, the values for Row will be relative to the home position of the scrolling region, not the home position of the screen itself.

See also: Col, RowCount, SetCursorPosition