3 Replies Latest reply on Mar 18, 2013 12:07 PM by hanstrager

    how to highlight in different color..?

    hanstrager

      Title

      how to highlight in different color..?

      Post

           I have a problem - I've got a set of radio buttons, when I switch them on and oof I need some text in my field "category" to be highlight in different colors. one in yellow, and one in green and one without highlight.

           In my category field i placed this autoenter calculation:

           Case ( paied switch = "Investment" ; TextStyleAdd ( Category ; HighlightYellow);
           paied switch = "Missing receipt" ; TextStyleAdd ( Category ; HighlightYellow);
           paied switch = "We Have Reciept" ; TextStyleAdd ( Category ; HighlightYellow))

           My problem is that I can't figure out how to change the yellow to different colors.

           Further more if the "paied switch" is switched to "We have receipt" there shouldn't be any highlight.

           But if I erase: "paied switch = "We Have Reciept" ; TextStyleAdd ( Category ; HighlightYellow))" from the above, when i then turn on the the radio button with "We Have Reciept" the text disappears..?