EasyManua.ls Logo

Panasonic HMWIN - Page 50

Panasonic HMWIN
440 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Changing color property connecting Color property to a String type tag
1. Create the tag (internal or PLC) that you want to refer to for color management. On the basis of the value of this tag,
the color will change. The tag must be of String type and the Arraysize property of the tag must be big enough to
contain the string formatted as explained here.
2. Attach this tag to the Fill Color property of an object (for example, a button).
3. Write in the String tag the RGB color code of the required color. Use one of these formats:
l #XXYYZZ, Where XX, YY and ZZ are the RGB components of the needed color expressed in Hexadecimal format
(range 00–FF).
l rgb(XXX,YYY,ZZZ), where XXX, YYY and ZZZ are the RGB components of the needed colors expressed in
Decimal format (range 0–255).
Note:This feature can be applied to all the objects available in the Widget gallery that have a color property. The
run-time change of the color is possible only thanks to the properties of the SVGs that are composing the object.
This feature can not be applied to other image formats such as JPEG or BMP files.
48
HMWIN Studio |User Manual|v206 (2017-06-30) |EN|© 2014-2017 Panasonic Electric Works Europe AG
Changing fill color property according to tag values

Table of Contents

Related product manuals