CimAlarmClass.NormalBGColor (property)

Gets and sets the normal state background color.
Syntax: CimAlarmClassColorEnum = object.NormalBGColor
object.NormalBGColor = CimAlarmClassColorEnum
Description: The NormalBGColor property gets and sets normal state background color.


Dim project As CimProject
Set project = CreateObject("CimProject")
project.OpenLocalProject "d:\classes\classes.gef"
Dim alarmClasses As CimAlarmClassList
Dim alarmClass As CimAlarmClass
Set alarmClasses = project.AlarmClasses
Set alarmClass = alarmClasses.Item("NCRIT")
alarmClass.NormalBGColor = cimColorIndx_7_White
alarmClass.Save False