Click or drag to resize

Window.MouseButtonUp Method (Typed)

X#
Provide a method that is invoked when the mouse pointer is positioned over the window and a mouse button is released.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD MouseButtonUp(
	oMouseEvent AS MouseEvent
) AS USUAL
Request Example View Source

Parameters

oMouseEvent
Type: MouseEvent
The MouseEvent object that contains information about the state of the mouse when the button was released.

Return Value

Type: Usual
This method calls Window.Default() and returns the result of Window.Default()
Remarks
Tip Tip
Important! This is a callback method used by X#. Normally, it should not be called in your application code.
Do not assume Window:MouseButtonUp() is called immediately after Window:MouseButtonDown(). Other MouseEvents can be generated during this time. In some cases, there may be no Window:MouseButtonUp() events directed to the window for a corresponding Window:MouseButtonDown(). This can occur if the mouse button is clicked while over the window, but released after the mouse has moved off the window. Use Window:MouseTrapOn() to direct all MouseEvents to this window.
This event also detects if a MouseDrag was active and ends the drag.
See Also