Widget.onEnter

This event will be performed when the mouse moves onto this widget (“enters” the widget’s territory).

Prototype

function onEnterHandler ( object_ event )

Example

This example prints the name of the widget when the mouse is on it.

1
2
3
4
5
 local function onEnterHandler ( this )
    print ( 'the cursor is on the widget "'.. this:getSender():getName() ..'"' )
 end

 myForm.onEnter:setHandler(onEnterHandler)