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

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

Recommended Posts

Posted

I originally changed the color of a text field in Browse and it won't uncolor. I searched here and thousands of posts on how to color them but only three to uncolor. None of them work. One was recent CF but it put weird stuff in the field that looked like html). I tried Get CSS but that didn't work. I tried TextStyle Remove but must have something wrong.

I even copied the text to a new field (which copied black), deleted everything in the field (using Replace Contents), closed the program and went back in - and then copied the black text back to it and it colored the original color again!!!

Oh please help! I can't delete the field and re-add it because many scripts and calcs depend upon it. 1) How can I uncolor the field or 2) How can I delete the field without ruining all my calcs and scripts and recreate the field?

I don't think I ever want to color text again. frown.gif Sorry to sound negative, but this is the most frustrating thing I've ever dealt with.

Posted

Hi transpower, thank you. Yes, I had tried that with Replace Contents. The color stayed the same - red. yuk.

I tried adjusting it removing every style individually but the calc kept saying I had it wrong. I just copied your idea again TextStyleRemove(Priority; AllStyles) and ran it through the field Replace Contents and it stayed red. I hate red now. shocked.gif

Posted

Have to copy and paste with no style into a field specified black.

Then re-copy back to your field.

I reported this as a bug to FM the day after they released v7.0

HTH

P.S.- There is a KNOWN unicode bug for high-byte characters.

See the FMP website. It's possible this is related, I suppose.

Posted

Thank you, I uh. Well, i checked and my computer is still 7.0 shocked.gif I was SURE i had updated mine TWICE but i guess I updated every computer but mine. (dumb-sh_t me). So sorry. i bet updated will fix it.

I just finished a list of all our computers as checklist (including home system). Now if I do something to one computer i can be sure to do it everywhere so I don't mess up again. blush.gifblush.gif Thank you again. smile.gif

  • 2 weeks later...
  • Newbies
Posted

In Layout mode, you can click on the field and set its font characteristics, and that will apply to all new type entered into the field.

But if you paste styled text into any field, the style stays with the pasted text (e.g., if you copy an email address that shows up in blue and underlined in your email program, then it will show in blue and underlined in FileMaker, too).

So I did the same thing that CoZiMan suggests, above: I made a short script that

1) selects all of the text in the offending field;

2) cuts the text (that is, copies it and deletes it from the offending field);

3) momentarily steps out of that field and back again (anywhere will do; I just have it go to the Previous field then to Next field, which puts the cursor back into the original, offending field);

4) then I just Paste (without style).

I wasn't aware of a TextStyleRemove(text_field ; AllStyles) function. (I'm still using FileMaker 6.)

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