rome33 Posted January 25, 2006 Posted January 25, 2006 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!
Lee Smith Posted January 25, 2006 Posted January 25, 2006 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
rome33 Posted January 25, 2006 Author Posted January 25, 2006 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...
Lee Smith Posted January 25, 2006 Posted January 25, 2006 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
Lee Smith Posted January 26, 2006 Posted January 26, 2006 Here is a sample file I posted awhile back, that shows what I just tried to say. : click here Lee
Recommended Posts
This topic is 6877 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 accountSign in
Already have an account? Sign in here.
Sign In Now