Porovnávané verzie
porovnané s
Kľúč
- Tento riadok sa pridal
- Riadok je odstránený.
- Formátovanie sa zmenilo.
OnMouseEnter picture event
Declaration
Global handler:
Special handler:
Blok kódu | ||||
---|---|---|---|---|
| ||||
ENTRY OnMouseEnter(IN INT _refId) ; script actions END OnMouseEnter |
Special handler:
Blok kódu | ||||
---|---|---|---|---|
| ||||
ENTRY XXX_OnMouseEnter ; script actions END XXX_OnMouseEnter |
Parameters
_refId | Required input parameter of the 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 is pointed to the graphic object with the given reference variable.
Example
Special picture event handler:
Blok kódu | ||||
---|---|---|---|---|
| ||||
; picture event handler: Pointing the mouse cursor to the graphic object with ; the reference variable _List assigned |
Blok kódu | ||||
---|---|---|---|---|
| ||||
ENTRY List_OnMouseEnter |
Blok kódu | ||||
---|---|---|---|---|
| ||||
; actions END List_OnMouseEnter |
Global picture event handler:
Blok kódu | ||||
---|---|---|---|---|
| ||||
; picture events handler: Pointing the mouse cursor to |
Blok kódu | ||||
---|---|---|---|---|
| ||||
; graphic object with reference variable assigned |
Blok kódu | ||||
---|---|---|---|---|
| ||||
Blok kódu | ||||
---|---|---|---|---|
| ||||
ENTRY OnMouseEnter(IN INT _refId) |
Blok kódu | ||||
---|---|---|---|---|
| ||||
; _refId - value of reference variable assigned to graphic object IF _refId = _List THEN ; test that determines the graphic object |
Blok kódu | ||||
---|---|---|---|---|
| ||||
; the mouse cursor pointed to ; script actions |
Blok kódu | ||||
---|---|---|---|---|
| ||||
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 | ||
---|---|---|
| ||