UDS - change the colour of objects on a panel (not in a grid).

SOLVED

I have a customer (using v2015) requesting a significant visual display to make certain items stand out in Item Maintenance.  Pop-ups are ignored by their users, so that isn't an option.  The request started asking if the panel could have a different colour for background, so I've been trying to come up with a way to do something with colour, without success. 

I've done scripts where I change the background colour of a row or column in GD_Lines, but have no idea if the following kind of script is technically possible (with a UI event trigger, or a business object event trigger). 

If (oScript.UIObj) Then
Set myUIObj = oSession.AsObject(oScript.UIObj)
myUIObj.SetControlProperty "ITEMCODEDESC","BackColour","RED"
Set myUIObj = Nothing
End If

Any ideas?

Parents Reply Children