CsrLin
 
Returns the row position of the cursor

Syntax

Declare Function CsrLin ( ) As Integer

Usage

result = CsrLin

Return Value

An Integer specifying the current row of the cursor.

Description

Returns the current row the cursor is on (i.e. the "cursor line"). The topmost row is number 1.

Example

Print "The cursor is on row:"; CsrLin


Differences from QB

  • None

See also