Forum Discussion
dganov
Staff
I suppose the reason that your code
if (GenerateReport_Btn.currentStyle.color == "#818181")
does not work is that real value returned by Edge in this case is "rgb(129, 129, 129)".
You can check this assumption by the code like this:
Log.Message(GenerateReport_Btn.currentStyle.color)
BMD
6 years agoContributor
Although you are partly correct the underlying problem is using object spy of the report button and clicking on currentStyle (the object in the properties tree) the tabs properties and methods is missing the fields tab and the tabs listed have to returned values.