Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

There is a text field Status and Drop Down List with different Statuses - High, Normal, Low.

The idea is that when we change status in drop down list then to change and color of entire field.

So, when Status is High then to be Blue, when Normal then Green and for Low to be in Red.

No, cant use conditional script because end user might want to change and relate High to Yellow etc.

Right now I use TextColor(UNDERLINES;RGB( Red ; Green ; Blue ))

Which retrieve underline in different colors but that that is not good enough as it leaves white margins.

Indeed, is possible anyway to set field in different color via script?

Best Regards

Posted

Why aren't you using Conditional Formatting?

Do you really want your end user changing the colors?

Posted

Thanks for quick reply as first.

Unfortunately yes, it has to be done this way, through the script.

Conditional Formatting is cool but too narrow option in some cases.

For example in simple HTML we can set background color of database field by simple command.

So I'm surprised that in FileMaker we cant use something easy to do the same.

Might be good idea to bring that functionality in FileMaker 13...

Posted

Right now I use TextColor(UNDERLINES;RGB( Red ; Green ; Blue ))

Which retrieve underline in different colors but that that is not good enough as it leaves white margins.

Try =

TextColor ( TextFont (  TextSize ( "g" ; 1000 ) ; "Webdings" ) ; RGB ( Red ; Green ; Blue ) )

  • Like 1

This topic is 4608 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.