Dynamic background colour for forms

Quick question

Is it possible to programatically change the background colour of a form (i.e. in a calc as you can with the bg colour of rows, or via a method?) If so, do I need to use Styles?

Thanks

Bevil

Hi Bevil,

You mean like with the rowBgColor form property ? If I am not mistaken this works in RecordView as well.

You can do that using the solution model.

The form itself doesn’t have a background property, but the parts of the form do. Take a look at the JSForm and JSPart nodes under SolutionModel in the solution explorer.