January 25, 200619 yr Hi I would like different words in a drop down menu to be different colors. I tried to do this with an autocalculation with the field = TextColor("Low";RGB(255;0;0)) also I tried substitute but neither works. I guess I am doing it wrong. Is there a way to do this? thanks!
January 25, 200619 yr you would need to hard code the List items and the color into your calculation. the enclosed sample shows how to do this using the auto enter calculation. Ch_Color_VL_Item.fp7.zip
January 25, 200619 yr Author thanks Lee! Is there a way to do this with the field background of the drop down menu too? i didn't see any functions to do this : but i saw that in some old versions of filemaker people put a field behind a field to do this. that seems like a workaround that would work only for one view and wouldn't translate if people were looking at it in table view. I wish there was a FieldColor function...
January 25, 200619 yr Actually, changing the background was the predecessor to this new feature. Essentially you use one container field with enough repetitions to hold a block of color for each color you want. Than you would set up a calculation field behind the text field, and have it result in a container based on a case statement similar to the one I attached. There are a bunch of examples here attached to different questions. Do a search for [color:blue]change background calculation and see what that turns up. If you have no luck, post back and I'll either locate one for you, or post another sample. Lee
January 26, 200619 yr Here is a sample file I posted awhile back, that shows what I just tried to say. : click here Lee
Create an account or sign in to comment