Jump to content

This topic is 8424 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

I have just started using FM and would like to know how to change the color of a field as data in entered into the field.

ex.. If 1 is entered into a field the background would change to blue...if 2 is entered into the field the background would change to red.

Thanks for the Help!

RJ

Link to comment
Share on other sites

The best way I know to accomplish this is to set up a calculation field as container to be the background. Create global field with repeating values (as many repetitions as you want colors) and store your solid color blocks in these fields. Then, set up a condition for your background container fields.

Field ColorHolder is the global container

Field ColorContainer is a calculation field defined as:

Case (myField=1,GetRepetition(ColorHolder,1),... etc.

Be sure myField is transparent on the layout.

Link to comment
Share on other sites

This topic is 8424 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.