Difference between revisions of "MouseUp event"

From Xojo Documentation

 
(Controls implementing the MouseUp event)
 
(15 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
| name=MouseUp
 
| name=MouseUp
 
| ownertype=class
 
| ownertype=class
| parameters=x as [[Integer]], y as [[Integer]]
+
| owner=<See Below>
| returntype=[[Boolean]]
+
| parameters=x As [[Integer]], y As [[Integer]]
 
| platform=all
 
| platform=all
 
}}
 
}}
 +
{{Description
 +
|text = The mouse button was released. Use the ''x'' and ''y'' parameters to determine if the mouse button was released within the control's boundaries.}}
  
 
+
==Notes==
The mouse button was released inside the BevelButton's region at the location passed in to x,y.
 
 
 
''x'' and ''y'' are local coordinates, i.e. they represent the position of the mouse click relative to the upper-left corner or the [[Control]].
 
 
 
 
 
 
{{Information|This event will not occur unless you return [[True]] in the MouseDown event. The return value is ignored.}}
 
{{Information|This event will not occur unless you return [[True]] in the MouseDown event. The return value is ignored.}}
  
 +
The parameters ''x'' and ''y'' are local coordinates, i.e. they represent the position of the mouse click relative to the upper-left corner or the [[Control]]. Mouse clicks that are released to the left or above a control are negative.
  
== Controls implementing the MouseUp event ==
+
=== Controls implementing the MouseUp event ===
 
* [[BevelButton]]
 
* [[BevelButton]]
 
* [[Canvas]]
 
* [[Canvas]]
 
* [[Checkbox]]
 
* [[Checkbox]]
 
* [[GroupBox]]
 
* [[GroupBox]]
 +
* [[ImageWell]]
 +
* [[Label]]
 
* [[Line]]
 
* [[Line]]
 
* [[ListBox]]
 
* [[ListBox]]
Line 33: Line 33:
 
* [[Scrollbar]]
 
* [[Scrollbar]]
 
* [[Slider]]
 
* [[Slider]]
* [[StaticText]]
 
 
* [[TabPanel]]
 
* [[TabPanel]]
 
* [[TextArea]]
 
* [[TextArea]]
 
* [[TextField]]
 
* [[TextField]]

Latest revision as of 19:31, 20 June 2019

Event


<See Below>.MouseUp(x As Integer, y As Integer)

Supported for all project types and targets.

The mouse button was released. Use the x and y parameters to determine if the mouse button was released within the control's boundaries.

Notes

fa-info-circle-32.png
This event will not occur unless you return True in the MouseDown event. The return value is ignored.

The parameters x and y are local coordinates, i.e. they represent the position of the mouse click relative to the upper-left corner or the Control. Mouse clicks that are released to the left or above a control are negative.

Controls implementing the MouseUp event