Download AlarmWorX32 Users Guide
Transcript
Description Sets background color associated with message type and rowID. Automatically enables background color override. Remarks See EnableRowTextColor method for available messagetype values. Example This Example will change the row background color for all alarm lines in alarm for severity values starting at 400 to the next configured severity or 1000. Which ever is less. Call AWXVIEW32OCX1.SetRowBackColor(Alarm,400,RGB(255,255,255)) OLE_COLOR GetRowTextColor(MESSAGETYPE wType, long LowSeverity) Description Returns the row text color of the associated message type rowID combination. Note - this is the override color. Remarks See EnableRowTextColor method for available messagetype values. Example This example will get the row text color value for severity values starting at 400 to the next configured severity or 1000. Which ever is less. Dim rcolor As OLE_COLOR rcolor = AWXVIEW32OCX1.GetRowTextColor(Alarm,400) OLE_COLOR GetRowBackColor(MESSAGETYPE wType, long LowSeverity) Description Returns the row background color of the associated message type rowID combination. Note - this is the override color. Remarks See EnableRowTextColor method for available messagetype values. Example This example will get the row background color value for severity values starting at 400 to the next configured severity or 1000. Which ever is less. Dim rcolor As OLE_COLOR rcolor = AWXVIEW32OCX1.GetRowBackColor(Alarm,400) GlobalAck(BSTR comment) ICONICS 252