This event is available only for buttons and it occurs when the button is pressed and released after the number of seconds
set as Hold Time in the widget properties.
Parameter Description
me Object triggering the event
eventInfo Details of triggered event
function buttonStd1_onMouseHold(me, eventInfo) {
//do something…
}
onMousePress
void onMousePress(me, eventInfo)
This event is available only for buttons and it occurs when the button is pressed.
Parameter Description
me Object triggering the event
eventInfo Details of triggered event
function buttonStd1_onMousePress(me, eventInfo) {
//do something…
}
onMouseRelease
void onMouseRelease (me, eventInfo)
This event is available only for buttons and it occurs when the button is released.
Parameter Description
me Object triggering the event
eventInfo Details of triggered event
function buttonStd1_onMouseRelease(me, eventInfo) {
//do something…
}
onDataUpdate
boolean onDataUpdate (me, eventInfo)
This event occurs when data attached to the widget changes.
HMWIN Studio |User Manual| v206 (2017-06-30) | EN| © 2014-2017 Panasonic Electric Works Europe AG
341
35 JavaScript