Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

text formatting drop down menus

Featured Replies

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!

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

  • 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...

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

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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.