Click or drag to resize

Window.MouseButtonDown Method (Typed)

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

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD MouseButtonDown(
	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 clicked.

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.
Use the Window:MouseTrapOn() method to force MouseEvents generated outside the canvas area to be directed to this window.
See Also