Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Hi All,

i have a field calculation were if a certain instance occurs it enters a message in to a field and if another instance occurs it enters another message.

now id like to if possible make one message text go red and the other green.

How can i do this?

Thanks in advance.

Posted

Ricardo

Use the update your Profile below your picture to update your FileMaker Version, Platform and Operating System.

TIA

Lee

  • 1 month later...
Posted

*bump*

Same question, more or less. FMP6/MacOSX

I want a button label to change color based upon a calculation. (A "Find" button's label should change to "Show All" in red when working with a found set).

A text box with two merge fields (one black, one red) seems like one way to go; just wondering if there's an easier way.

Thanks for your consideration,

Chap

Posted

In FM7 you could do it with a fairly simple calc.

In FM6 I think you will have to use two fields for the text and stack them on the layout one set for black and the other for red. I would tend to use globals and set them (toggle for "" or "WhateverText") by script when using the button's attached script.

Someone else may have a more elegant solution.

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