OnMouseLeave picture event


Declaration
Global handler:
 ENTRY   OnMouseLeave(IN INT _refId)
 ; script actions
 END  OnMouseLeave

Special handler:
 ENTRY XXX_OnMouseLeave
 ; script actions
 END XXX_OnMouseLeave
Parameters
_refIdRequired input parameter of the INT type for global handler.
XXXName 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 OnMouseLeave
Note
  If both handlers are defined in the picture script, the global handler will never be called for _refId=_List, because a special handler is already defined.

0 komentárov

Nie ste prihlásený. Akékoľvek zmeny, ktoré vykonáte, sa označia ako anonymné. Ak už máte svoj účet, pravdepodobne sa budete chcieť prihlásiť .