OnMouseLeave
OnMouseLeave picture event
Declaration
Global handler:
ENTRY OnMouseLeave(IN INT _refId)
; script actions
END OnMouseLeave
Special handler:
ENTRY XXX_OnMouseLeave
; script actions
END XXX_OnMouseLeaveParameters
_refId | Required input parameter of INT type for global handler. |
XXX | Name of the reference variable assigned to graphic object (without the character "_"). |
Description
The picture event is being generated when the mouse cursor leaves the area of the graphic object with the given reference variable.
Example
Special picture event handler:
ENTRY List_OnMouseLeave ; actions
END List_OnMouseLeave
Global picture event handler:
ENTRY OnMouseLeave(IN INT _refId); _refId - value of the reference local variable assigned to graphic object
IF _refId = _List THEN ; actions ENDIF
END OnMouseLeaveNote
If both the handlers are defined in picture script, the global handler will never be called for _refId=_List, because a special handler is already defined.
Related pages: