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.

To cause an event when the user moves the mouse pointer onto a control and then the mouse remains static for one second or longer (that is, the mouse pointer hovers over a control), use the mouseHover event.

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.)