6. Creating and Using Basic Fields : How You Can Add Fields to a Frame : Field Colors : How You Can Use the Style Sheet to Change Field Colors
 
Share this page                  
How You Can Use the Style Sheet to Change Field Colors
Every field on a frame has a field style. When you create a field initially, it uses the default style, Field Style 1. If you apply a different field style from the style sheet, the field's style changes accordingly.
A field may also have a unique style if its style attributes do not match those of any of the field styles defined in the style sheet. For example, suppose that Field Style 1 for a button field specifies that the background color is pale gray. If you change the BgColor property of the button field from CC_PALE_GRAY to CC_RED, the field style of the button field is changed subsequently to Unique Style—one that does not correspond with any style sheet styles.
For more information about using the style sheet to change field colors, see Style Sheets (see Style Sheets).