SetStatusColor Method Example

The following example sets the color to display for alarms with a LOLO status in the AlarmSummary object AlarmSummaryOCX1.

Dim lGreen As OLE_COLOR

lGreen = 57344

AlarmSummaryOCX1.SetStatusColor 1, lGreen