Click or drag to resize

Window.MouseButtonUp Method

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

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

Parameters

oMouseEvent (Optional)
Type: Usual
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