Export (0) Print
Expand All
Expand Minimize

ChartEvents_MouseUpEventHandler Delegate 

A Delegate type used to add an event handler for the MouseUp event. The MouseUp event occurs when a mouse button is released while the pointer is over a chart.

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

'Usage
Sub Sub1(Button As Integer, _
	Shift As Integer, _
	x As Integer, _
	y As Integer)
End Sub
Dim chartEvents_MouseUpEventHandler1 As New ChartEvents_MouseUpEventHandler(AddressOf Sub1)

public delegate void ChartEvents_MouseUpEventHandler(
	[In] int Button, 
	[In] int Shift, 
	[In] int x, 
	[In] int y
);
public delegate void ChartEvents_MouseUpEventHandler(
	/*in*/int Button, 
	/*in*/int Shift, 
	/*in*/int x, 
	/*in*/int y
);
In JScript, you can use the delegates in the .NET Framework, but you cannot define your own.

Parameters

Button

The mouse button that was released. Can be one of the following XlMouseButton constants: xlNoButton, xlPrimaryButton, xlSecondaryButton, or xlMiddleButton.

Shift

The state of the SHIFT, CTRL, and ALT keys when the event occurred. Can be one of or a sum of the following values.

Value

Meaning

0 (zero)

No keys

1

SHIFT key

2

CTRL key

4

ALT key

x

The X coordinate of the mouse pointer in chart object client coordinates.

y

The Y coordinate of the mouse pointer in chart object client coordinates.

Development Platforms

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

Target Platforms

Community Additions

ADD
Show:
© 2015 Microsoft