V16-WinCC-HMI_TP1500 - CHANGING BACKGROUD COLOR USING VB SCRIPT
Sub VBColorCustoming()
'
'Dim intVar
'intVar = SmartTags("FillLevel")
Dim RedInt,GreenInt,BlueInt
RedInt=SmartTags("RedInt")
GreenInt=SmartTags("GreenInt")
BlueInt=SmartTags("BlueInt")
'Custom the background color
HmiRuntime.Screens("Root screen").BackColor = RGB(RedInt, GreenInt, BlueInt)
End Sub