DataGrid REALbasic Plugin |

# DataGrid.MouseDown Event

The mouse button was pressed inside the StyleGrid at the location passed into x, y.

MouseDown(
x as Integer,
y as Integer,
isRightButton as Boolean) as Boolean

#### Parameters

x
  The x location of the click.
y
  The y location of the click.
isRightButton
  If the click was triggered by right mouse button then this parameter will be true.

#### Returns

Boolean
  Return True if you are going to handle the MouseDown, you'll also get a MouseUp.

#### Remarks

x and y are in local coordinates to the DataGrid control.
Use the isRightButton parameter rather than the old IsCMMClick REALbasic function.

#### See Also

DataGrid Control