DataGrid REALbasic Plugin |

# DataGrid.AfterMouseDown Event

This event if fired after a MouseDown event. When this event is fired then all internal MouseDown handling has been completed.

AfterMouseDown(
x as Integer,
y as Integer,
isHeader as Boolean)

#### Parameters

x
  The x location of the click.
y
  The y location of the click.
isHeader
  True if the MouseDown event was in a header.

#### Remarks

This event is very useful to display a context menu for example.
Note:
This event is not fired when the cell that got clicked decided to take ownership of the mouse down event. This can happen for example when a checkbox in a cell got clicked.

#### See Also

DataGrid Control