Porovnávané verzie

Kľúč

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

OnMouseWheel picture event


Declaration
Global handler:
Blok kódu
languageesl
themeConfluence
 ENTRY OnMouseWheel(IN INT _x, _y, _direction, IN BOOL _bShift, _bCtrl, _bAlt)
 ; script actions
 END OnMouseWheel
Parameters
_xParameter of the INT type.
_yParameter of the INT type.
_directionParameter of the INT type.
_bShiftParameter of the BOOL type.
_bCtrlParameter of the BOOL type.
_bAltParameter of the BOOL type.
Description
The picture event is generated when scrolling the mouse wheel over the picture. The value of _direction defines direction of rotation (positive/negative value) and its size. According to documentation for MS Windows, this value is a multiple of 120. The parameters _bShift, _bCtrl, _bAlt define the pressing of SHIFT, CTRL or ALT key at that time.
The parameters _x and _y defines the position of mouse cursor within coordinates of appropriate picture.  
Example
Blok kódu
languageesl
themeRDark
 ENTRY OnMouseWheel(IN INT _x, _y, _direction, IN BOOL _bShift, _bCtrl, _bAlt)
 ;akcie
 END OnMouseWheel 

Info
titleRelated pages:

Picture event handler
Picture events