Changing Button.BackColor in a Row Rule

Dammit! Julie. I thought I trained you better than @Ross.Fireball.Kuiper :stuck_out_tongue:

You want to give your button a binding JobMtl.btnHot for example, buttons and shapes can have fake bindings for the Row Rule Engine to work with them.

Now you can add a regular action, and have it run on JobMtl.btnHot, you will just need to modify the wizard generated code because you will not see the btnHot as a field in Wizard Script Editor.

Just assign it the OK Color or something else, once the code is generated replace the color with your custom ControlSettings.


But also consider Epicor native behaviour, perhaps a colored button isn’t the way, perhaps you want a Shape? Perhaps a Shape and a Checkbox next to it that can be toggled and the shape can become Red or Gray.

Further Reading:


Funny, I was just doing a Custom Color yesterday, because @jgiese.wci loves LimeGreen and hates Epicors default Green :slight_smile:


Bonus

Maestro @josecgomez has a Video on it in his gentle cuban voice.