Applying a Background Color object to a form or component

To ensure consistency and "same-look-and-feel" across a variety of forms and components, you can create and apply a set of "Background Color" global objects for the forms and components in your application. These color definition objects are created and maintained using the Edit Color dialog box. Once created, these color definition objects are available for use in both forms and components.

Note: To adjust a color definition object without affecting the definition itself, apply the object to the form or component and then adjust it in the form or component property sheet (at which point it becomes a custom or modified definition). This procedure assumes that you already have at least one background color definition object created and available in the system.

To apply a color definition from an existing set of color definitions:

  1. With a form open and in Design Mode, select the Form property sheet or the component to which you want to apply the background color definition.
    In the web client, you must launch the Web Designer and then open the form.
  2. In the property sheet Appearance group, select the Background Color property.
  3. In the right margin, click the ellipsis (...) button.
  4. In the Edit Color dialog box, select one of the color definition variables from the list in the upper left corner of the dialog box.
  5. Click OK.

Windows client immediately applies the color definition to the form background or the designated component. If you do not immediately see the change, you can click elsewhere on the form to refresh the display.