How Can We Help?
< All Topics
Print

$CursorRow

The location of focus in a window when an event occurs.

Syntax

$cursorrow

Return Value

A number which is the row location for focus of the current window at the time of an event. Can be reset by an application program.

Description

The number of the character row where focus was located within the current window at the time of an event . If focus is on an entry field, $CursorRow gives the position of the text cursor.

Example

To output the row and column position of focus in window wMain when an event occurs:

window open wMain
form open Form1
form display input
output $cursorrow $cursorcol

See Also

$CursorCol

$CursorScreenCol

$CursorScreenRow

CURSOR

FORM INPUT

System Variables

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *

pt_BRPortuguese