Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MouseDown Event

ChartEvents_Event.MouseDown Event 

Occurs when a mouse button is pressed while the pointer is over a chart.

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in microsoft.office.interop.excel.dll)

WithEvents chartEvents_Event1 As ChartEvents_Event
Function chartEvents_Event1_MouseDown(Button As Integer, _
	Shift As Integer, _
	x As Integer, _
	y As Integer) As Void
	Handles chartEvents_Event1.MouseDown
End Function

event ChartEvents_MouseDownEventHandler MouseDown;
 void add_MouseDown(ChartEvents_MouseDownEventHandler handler);
 void remove_MouseDown(ChartEvents_MouseDownEventHandler handler);
In JScript, you can handle the events defined by a class, but you cannot define your own.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Community Additions

© 2015 Microsoft