function btnStd9_onMouseRelease(me) {
page.userValue = "Here I can store custom data";
}
(Available on web pages)
Page object methods
Methods that can be used at page level.
getWidget
object getWidget( wgtName )
Returns the widget with the given name.
Parameter Description
wgtName String containing the widget name
Return value
An object representing the widget. If the widget does not exist, null is returned.
function btnStd1_onMouseRelease(me) {
var my_button = page.getWidget("btnStd1");
}
(Available on web pages)
setTimeout
number setTimeout( functionName, delay )
Starts a timer to call a given function after a given delay.
Parameter Description
functionName String containing the name of function to call
delay Delay in milliseconds
Return value
A number corresponding to the timerID.
var duration = 3000;
var myTimer = page.setTimeout("innerChangeWidth()", duration);
(Available on web pages)
HMWIN Studio |User Manual| v206 (2017-06-30) | EN| © 2014-2017 Panasonic Electric Works Europe AG
353
35 JavaScript