There may be a better way but if you set some styles with the colours you want I think you can use.
ogscript.setStyle("Object ID", "Style.Name");
If that works you could make an if statement based on your parameter string value.
I am XPression expert not DB so hopefully a DB pro on here might have more detail answer.
------------------------------
Simon Redmile
Senior Graphic Programmer & Designer
Ross Video
Bristol United Kingdom
------------------------------
Original Message:
Sent: 02-15-2024 15:24
From: Shaun Wright
Subject: Dashboard Control Panel
Hi Simon, change in dashboard - right now in dashboard we select the rock color for each team that already translates through and changes in XPression - but I'd like to have it also change the color of the a text box / area on the dashboard. You can kind of see the space in the image attached.
--
Original Message: Sent: 2/15/2024 3:18:00 PM From: Simon Redmile Subject: RE: Dashboard Control Panel
You want to change something in Dashboard or in XPression?
------------------------------ Simon Redmile Senior Graphic Programmer & Designer Ross Video Bristol United Kingdom
Original Message: Sent: 02-15-2024 13:50 From: Shaun Wright Subject: Dashboard Control Panel
Hi All, Looking to see if anyone may know how to help me with a detail in dashboard. We've built a control panel for curling and am hoping there is a way to change the color of a text box or text box border based on a perimeter (controlled by drop down menu in dashboard). See image - would like it to change as we select rock color. Any suggestions greatly appreciated.
--