objectName
string objectName
Gets the name of the widget, a unique id.
function btnStd04_onMouseRelease(me) {
var wgt = page.getWidget("rect1");
var name = wgt.objectName;
}
(Available on web pages)
x
number x
Gets or sets the widget ‘x’ position in pixels.
function btnStd1_onMouseRelease(me) {
var wgt = page.getWidget("rect1");
wgt.x = 10;
}
(Available on web pages)
y
number y
Gets or sets the widget ‘y’ position in pixels.
function btnStd1_onMouseRelease(me) {
var wgt = page.getWidget("rect1");
wgt.y = 10;
}
(Available on web pages)
width
number width
Gets or sets the widget width in pixels.
function btnStd1_onMouseRelease(me) {
var wgt = page.getWidget("rect1");
wgt.width = 10;
}
(Available on web pages)
348
HMWIN Studio |User Manual|v206 (2017-06-30) |EN|© 2014-2017 Panasonic Electric Works Europe AG
Widget properties