EasyManua.ls Logo

Panasonic HMWIN - Widget events

Panasonic HMWIN
440 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
l Widget events
l Page events
l System events
For events of type:
l OnMousePress
l OnMouseRelease
l OnMouseClick
l OnWheel
JavaScript eventinfo parameter contains the following additional properties:
Parameter Description
eventInfo.posX Local mouse/touch X coordinate with respect to widget coordinates
eventInfo.posY Local mouse/touch Y coordinate with respect to widget coordinates
eventInfo.pagePosX Page X mouse/touch coordinate
eventInfo.pagePosY Page Y mouse/touch coordinate
eventInfo.wheelDelta Mouse wheel delta. Integer value with sign representing the rotation direction.
The actual value is the rotation amount in eighths of a degree. The smallest value
depends on the mouse resolution. Typically this is 120, corresponding to 15
degrees.
Widget events
onMouseClick
void onMouseClick (me, eventInfo)
This event is available only for buttons and it occurs when the button is pressed and released quickly.
Parameter Description
me Object triggering the event
eventInfo Details of triggered event
function buttonStd1_onMouseClick(me, eventInfo) {
//do something…
}
onMouseHold
void onMouseHold (me, eventInfo)
340
HMWIN Studio |User Manual|v206 (2017-06-30) |EN|© 2014-2017 Panasonic Electric Works Europe AG
Widget events

Table of Contents

Related product manuals