Can the background colour of a form be variable, according to the value in a field?
Not as far as I know, but a label can. Just place a label on the background of your form, anchor it at all corners and make it the size of the form.
Could ‘servoy_row_bgcolor’ calculation function be used for this ?
By replacing the index modulo test with the test required by Morley ?
Not even thought about this until now !
Cheers
Harry
Hi Harry, yes, this will work.
Just for extra fun - you can also use GLOBAL VARIABLES in your background record calculation - so you can change them on the fly.