Control.MouseY

From Xojo Documentation
Jump to: navigation, search
Read-Only Property (As Integer )
IntegerValue = aControl.MouseY

The Y coordinate of the mouse (pixels). Measured from the top-left corner of the window.

Example

This example is in the MouseDown event of a TextField and displays the Y-coordinate at the point of the MouseDown event.

Me.Text = Str(Me.MouseY)
Personal tools
Namespaces

Variants
Actions
Main
Content
Starting Out
Dig Deeper
More Help
Toolbox
About