GetAlarmForegroundColor Method Example

The following example retrieves the color for alarms with a HIHI status in the AlarmSummary object AlarmSummaryOCX1.

Dim lHiHi As OLE_COLOR

lHiHi = AlarmSummaryOCX1.GetAlarmForegroundColor(2)