Name
Area.MouseMove -- learn about mouse move events (V2.2)
Function
This attribute is set whenever the user moves the mouse over a widget. You can set up a notification on this attribute in order to be notified whenever that happens. The event callback will receive two additional table elements named X and Y that contains the horizontal and vertical mouse position, respectively.

By default, this attribute won't trigger if a mouse button is down and the mouse cursor is outside the widget's boundaries. You can change that behaviour by setting the Area.MouseCapture attribute to True.

Note that this attribute is currently only implemented for classes Image and Scrollcanvas.

Type
Boolean

Applicability
N


Show TOC