Description

Determines the cell that the mouse cursor is over. This is the same as POS_BY_CURSOR message except that it returns the CLIENT coordinates rather than the SCREEN coordinates.

Applies to

Edit table.

Syntax

cellPos = Send_Message(controlID, "POS_BY_CLIENT_CURSOR", cursorX, cursorX)

Parameters

Parameters are as follows.

ParametersDescription
CursorXThe X position of the mouse cursor in the CLIENT coordinates.
CursorYThe Y position of the mouse cursor in the CLIENT coordinates.

Return value

Returns the column:@fm:row of the cell.

If the column value is 0 then the cursor is over a row label.

If the row value is 0 then the cursor is over a column header.

If the column and row values are null then the cursor is not over a cell, row label or column heading.

  • No labels