Harbour All Functions – M

Mantissa

Max

MaxCol
MaxRow

MCol

MD / MKDIR / MakeDir

MDY

MemoRead

MemoTran

MemoWrit

MemVarBlock

Min

Mod

Month

MRow

MRow()

MROW()

Returns the mouse cursor row position.

Syntax

      MRow() --> nMouseRow

Arguments

None

Returns

<nMouseRow> The mouse cursor row position.

Description

This function returns the current mouse row cursor position. On graphical systems the value represents pixel rows. On character-based systems the value represents character rows as in CA-Cl*pper.

Examples

      IF MRow() < 1
         ? "Mouse is on top row!"
      ENDIF

Compliance

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

Files

Library is rtl

Seealso

MCOL()

MCol()

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 CA-Cl*pper.

Examples

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

Compliance

MCOL() is compliant with CA-Cl*pper 5.3, but has been extended to work on graphical systems as well as character-based systems.

Platforms

All

Files

Library is rtl

Seealso

MROW()