Porovnávané verzie
porovnané s
Kľúč
- Tento riadok sa pridal
- Riadok je odstránený.
- Formátovanie sa zmenilo.
OnMouseLeave picture event
Declaration
Global handler:
Special handler:
Blok kódu | ||||
---|---|---|---|---|
| ||||
ENTRY OnMouseLeave(IN INT _refId) ; script actions END OnMouseLeave |
Special handler:
Blok kódu | ||||
---|---|---|---|---|
| ||||
ENTRY XXX_OnMouseLeave ; script actions END XXX_OnMouseLeave |
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 leaves the area of the graphic object with the given reference variable.
Example
Special picture event handler:
Blok kódu | ||||
---|---|---|---|---|
| ||||
ENTRY List_OnMouseLeave |
Blok kódu | ||||
---|---|---|---|---|
| ||||
; actions END List_OnMouseLeave |
Global picture event handler:
Blok kódu | ||||
---|---|---|---|---|
| ||||
ENTRY OnMouseLeave(IN INT _refId) |
Blok kódu | ||||
---|---|---|---|---|
| ||||
; _refId - value of the reference local variable assigned to graphic object IF _refId = _List THEN |
Blok kódu | ||||
---|---|---|---|---|
| ||||
; actions |
Blok kódu | ||||
---|---|---|---|---|
| ||||
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 | ||
---|---|---|
| ||