CimAlarmClass.AlarmHiBGColor (property)

Gets and sets the alarm hi state background color.
Syntax: CimAlarmClassColorEnum = object.AlarmHiBGColor
object.AlarmHiBGColor = CimAlarmClassColorEnum
Description: The AlarmHiBGColor property gets and sets the alarm hi state background.


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.AlarmHiBGColor = cimColorIndx_1_Red
alarmClass.Save False