Hello Community,
I am using the following code to change a color from a rectangle based on changed values from a slider
If ColorChange = 1 then
if RectangleColor1.FillColor = Color.LightGray then
gColor1TempDice = -1
gColorTempCalc = 0
end if
RectangleColor1.FillColor = Color.Black
gColor1 = 1
end if
The code above worked with 2019r2.1.
With 2019r3 I got
ViewColor.SliderColor1.ValueChanged, line 5
Undefined operator. Type ColorGroup does not define "=" with type Color
if RectangleColor1.FillColor = Color.LightGray then
I guess it has something to do with changes made for dark mode. I checked the documentation but could not find a hint about this.
Is this a bug or do I have to change the code?
Best regards
–Christian