WinCC Unified V17: Change the predefined styles dynamically it in Runtime

Опубликовано: 26 Октябрь 2024
на канале: DerHecht4.0
8,399
39

In this Video I show you how you can change the style dynamically in Runtime via JavaScript. Since Unified V17 there is a second predefined styles with two color schemas for dark and bright mode.
It is currently not possible to add your own Style!

00:00 Intro
00:37 How does is work
01:15 JavaScript for Style change
01:50 add your own colors

//JavaScript code
HMIRuntime.UI.Style = 'ExtendedStyle'; //ExtendedStyle
HMIRuntime.UI.Style = 'FlatStyle_Bright'; //BrightStyle
HMIRuntime.UI.Style = 'FlatStyle_Dark'; //DarkStyle

#DerHecht #WinCC #Unified #TIAPortal #JavaScript