How Can We Help?
< All Topics
Print

$CursorCol

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

Syntax

$cursorcol

Return Value

A number which is the column 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 column where focus was located within the current window at the time of an event. If focus is on an entry field, $CursorCol gives the position of the text cursor.

Example

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

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

See Also

$CursorRow

$CursorScreenCol

$CursorScreenRow

CURSOR

FORM INPUT

MENU INPUT

System Variables

Leave a Reply

Your email address will not be published. Required fields are marked *

en_CAEnglish