![background image](http://html.mh-extra.com/html/panasonic/hmwin/hmwin_user-manual_280071319.webp)
If you need global variables, configure them at project level, adding the desired variables to the global variable widget.
Using variables in JavaScript
Variables can be also referenced in JavaScript programs with the following syntax:
For local variables:
var varWgt = page.getWidget("_VariablesWgt");
var compVar = varWgt.getProperty("VariableName");
For global variables:
var varWgt = project.getWidget("_VariablesWgt");
var compVar = varWgt.getProperty("VariableName");
HMWIN Studio | User Manual | v206 (2017-06-30) | EN | © 2014-2017 Panasonic Electric Works Europe AG
317
32 Special widgets
Summary of Contents for HMWIN
Page 166: ...164 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG ...
Page 258: ...256 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG ...
Page 380: ...378 HMWIN Studio User Manual v206 2017 06 30 EN 2014 2017 Panasonic Electric Works Europe AG ...
Page 439: ......