<< Click to Display Table of Contents >>
SelectionColor |
Returns or selects the background color of the cell of a WaterExplorer object, when it is selected. If no color is selected, or if this property is configured with the value -1 (minus one), it uses Windows default color. The next script contains an example of using this property, including the SelectionColorInactive property.
Sub CommandButton_Click()
Set WE = Application.GetWaterExplorer("System1.Station1.Pump1")
WE.SelectionColor = RGB(255, 0, 0)
WE.SelectionColorInactive = RGB(0, 0, 255)
WE.Show()
End Sub