Skip navigation
Currently Being Moderated

greying out text

Feb 6, 2009 7:02 AM

I currently have a javascript that if a section is not applicable an NA checkbox will make the whole subform background grey out. To try and avoid excessive use of toner I would like to try and just have the text for the whole section grey out. Can someone help me?
 
Replies
  • Currently Being Moderated
    Mar 3, 2009 12:28 PM   in reply to (CVan)
    You have a large static text object and you want to change the colour of the text?

    You can't change the color of a static text object at runtime, but you can change the color of a Text Field.

    Use a Text Field, set the caption to None, hide the border, and put your text in this field. Then you can grey it in script (JavaScript):

    TextField1.fontColor = "128,128,128";
     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)