Product Information > JADE Encyclopaedia of Classes – Volume 3 > Chapter 2 - Window Classes > mouseEnter

mouseEnter

mouseEnter();                              (Form)

mouseEnter(control: control-type input);   (Control)

The mouseEnter event occurs when the user moves the mouse onto a control or form.

Unlike the mouseMove event, which is generated continually as the mouse pointer moves across objects, the mouseEnter event occurs once only; that is, when the mouse moves onto the object.

Use this event method, for example, to draw the changed state of a button. (Use the mouseLeave event to restore the state of the button.)