![background image](http://html.mh-extra.com/html/panasonic/hmwin/hmwin_user-manual_280071360.webp)
showDialog
void showDialog(pageName)
The script executes to show the dialog page.
project.showDialog("Dialog.jmx");
(Available on web pages)
closeDialog
void closeDialog()
The script executes to close the currently-opened dialog page.
project.closeDialog();
(Available on web pages)
showMessage
void showMessage( message )
The script executes to display the message popup.
project.showMessage("Hi This is test message");
(Available on web pages)
getGroup
number getGroup( groupName, groupInstance, [callback] )
Fast read method; this gets the values of all tags in a group.
Parameter
Description
groupName
String containing the name of the group
groupInstance
Group element to be filled
callback
String containing the name of the function to be called when the group is ready
Return value
A number value that is the status: 1 for success, 0 for fail.
var group = new Group();
var status = project.getGroup ("enginesettings", group);
if (status == 1) {
var value = group.getTag("Tag1");
if (value!=undefined) {
358
HMWIN Studio | User Manual | v206 (2017-06-30) | EN | © 2014-2017 Panasonic Electric Works Europe AG
Project object methods
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: ......