RGB values to Background color
I'm a novice FM user with little or no scripting experience. I'm designing a database to keep track of color samples.
Each record has 3 numeric fields with RGB values. I need a script that will pass these values on to define the fill color of an object in the layout so that a small color swatch will be displayed. Ideally the script should be designed so that if the RGB fields values are changed, that the object color will update.
The FM reference shows that there is an RGB function, but I don't know how to use it to set the color of a layout object.
Help greatly appreciated.