Fired when the user moves the mouse over the edit table.

Parameters

ParameterDescription
CellCell over which the mouse cursor resides
PointMouse cursor location relative the control's top left corner
ButtonThe button currently held down
ShiftIndicates whether or not the SHIFT key is down
CtrlIndicates whether or not the CTRL key is down
LocationLocation of the mouse cursor in the edit table

Remarks

The OnMouseMove event is fired when the user moves the mouse anywhere on the edit table (except the scrollbars).

The Cell parameter indicates the cell currently beneath the curosr. It contains the field and record location delimited by a semi-colon. For example, the first data cell has a value of "1;1". If either the field or record are zero, then the cell is a header cell with cell (0, 0) being the top left header cell. If the cursor is not over any cell, this value is "-1;-1".

The Point parameter contains the mouse cursors coordinates relative to the upper left corner of the edit table. It contains the x and y positions delimited by a comma, e.g, "100,100".

The Button parameter indicates the button that is being pressed during the event. This value is "Left" if the left mouse button is pressed, "Middle" if the middle mouse button is pressed, or "Right" if the right mouse button is pressed.

The Shift and Ctrl parameters indicate whether or not the SHIFT or CTRL keys, respectively, are pressed during the event. If either key is pressed, then its corresponding parameter will have a value of 1.

The Location parameter indicates the element over which the mouse cursor resides. The following table lists possible values of this parameter:

ValueDescription
BorderThe cursor is over the edit table's border
ScrollBarThe cursor is over one of the edit table's scrollbars
RightGridThe cursor is over the right grid line of the current Cell
BottomGridThe cursor is over the bottom grid line of the current Cell
OptionThe cursor is over the current cell's option button
CellThe cursor is over a cell
WorkspaceThe cursor is over the blank space of the edit table

See Also

OnClickSuppressMouseMoveEvent

  • No labels