Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

OnMouseLeave picture event


Declaration
Global handler:
Blok kódu
languageesl
themeConfluence
 ENTRY   OnMouseLeave(IN INT _refId)
 ; script actions
 END  OnMouseLeave

Special handler:
Blok kódu
languageesl
themeConfluence
 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:

 
Blok kódu
languageesl
themeRDark
ENTRY List_OnMouseLeave
Blok kódu
languageesl
themeRDark
  ; actions
 END List_OnMouseLeave
 

Global picture event handler:
 

Blok kódu
languageesl
themeRDark
ENTRY OnMouseLeave(IN  INT _refId)
Blok kódu
languageesl
themeRDark
; _refId - value of the reference local variable assigned to graphic object
  IF _refId = _List THEN  
Blok kódu
languageesl
themeRDark
     ; actions  
Blok kódu
languageesl
themeRDark
  ENDIF
 END OnMouseLeave
Note
  If both the handlers are defined in the picture script, the global handler will never be called for _refId=_List, because a special handler is already defined.

Info
titleRelated pages:

Picture event handler
Picture events