vexi.ui.Box.mouse - Mouse Object

The Mouse Object, accessed via the Box.mouse property, is immutable - that is you may not modify or add properties to this object. However traps can be placed upon the object's properties.

Note that every time you access the Box.mouse property, it creates a different object.

Properties

Property Type Description

inside

Boolean

Read only property representing whether the mouse cursor is within the bounds of the owning box.

The value of this properties changes without any notification, thus write traps placed upon it will not be fired.

x
y

Number

Read only property representing the mouse's current x-position/y-position relative to the owning box.

The value of these properties change without any notification, thus write traps placed upon them will not be fired.

 


Copyright © 2011 The Vexi Project (vexi.sourceforge.net)