MCOL()

Returns the mouse cursor column position.

Syntax

MCol() --> nMouseColumn

Arguments

None

Returns

<nMouseColumn> The mouse cursor column position.

Description

This function returns the column position of the mouse cursor. On graphical systems the value represents pixels. On character-based systems the value represents character columns as in Clipper.

Examples

IF MCol() < 1
? "Mouse is on left edge!"
ENDIF

Status

Ready

Compliance

MROW() is compliant with CA-Clipper 5.3, but has been extended to work on graphical systems as well as character-based systems.

Platforms

All

Files

Library is rtl

See Also