EasyManua.ls Logo

Panasonic HMWIN - Page 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...
wID.setProperty("value",eventInfo.id);
wDX.setProperty("value",eventInfo.dx);
wDY.setProperty("value",eventInfo.dy);
wRUN.setProperty("value",eventInfo.running);
}
OnPinch
boolean onGesturePinch(me, eventInfo)
This event is only available for gesture area buttons; it occurs when two points inside the area have been pressed and a
movement has been detected.
WARNING: Only multi touch HMI devices can generate pinch events
Parameter Description
me Object triggering the event
eventInfo id = Gesture id; it is used to identify different gestures.
running = True except for last event delivered to notify gesture completion.
dx = Total X axis movement in screen pixel units from initial touch position. It represents the distance
change between fingers. Positive value means that the distance is increasing; negative value means that
the distance is decreasing. This amount may be used to control a zoom value.
dy = Total Y axis movement in screen pixel units (see dx).
function gstArea_onGesturePinch(me, eventInfo)
{
wTYPE.setProperty("value","PINCH");
wID.setProperty("value",eventInfo.id);
wDX.setProperty("value",eventInfo.dx);
wDY.setProperty("value",eventInfo.dy);
wRUN.setProperty("value",eventInfo.running);
}
Page events
onActivate
void onActivate( me, eventInfo )
This event occurs each time the page is displayed.
HMWIN Studio |User Manual| v206 (2017-06-30) | EN| © 2014-2017 Panasonic Electric Works Europe AG
343
35 JavaScript

Table of Contents

Related product manuals