Porovnávané verzie

Kľúč

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

OnMouseEnter picture event


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

Special handler:
Blok kódu
languageesl
themeConfluence
 ENTRY XXX_OnMouseEnter
 ; script actions
 END XXX_OnMouseEnter
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 is pointed to the graphic object with the given reference variable.
Example
Special picture event handler:

 
Blok kódu
languageesl
themeRDark
; picture event handler: Pointing the mouse cursor to the graphic object with
 ; the reference variable _List assigned
Blok kódu
languageesl
themeRDark
ENTRY List_OnMouseEnter
Blok kódu
languageesl
themeRDark
  ; actions
 END List_OnMouseEnter
 

Global picture event handler:
 

Blok kódu
languageesl
themeRDark
; picture events handler: Pointing the mouse cursor to
Blok kódu
languageesl
themeRDark
; graphic object with reference variable assigned
Blok kódu
languageesl
themeRDark
Blok kódu
languageesl
themeRDark
ENTRY OnMouseEnter(IN  INT _refId)
Blok kódu
languageesl
themeRDark
; _refId - value of reference variable assigned to graphic object
  IF _refId = _List THEN  ; test that determines the graphic object
Blok kódu
languageesl
themeRDark
                          ; the mouse cursor pointed to
    ; script actions  
Blok kódu
languageesl
themeRDark
  ENDIF
 END OnMouseEnter
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