WinStudio

Selecting and Applying a Background Color Definition Variable

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

NOTES:

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

  1. Open a form in Design Mode.
  2. On the Form/Collections property sheet, select the Form tab or the component to which you want to apply the background color definition.
  3. In the property sheet Appearance group, select the Background Color property.
  4. In the right margin, to open the Edit Color dialog box, click the ellipsis (...) button.
  5. 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.
  6. Click OK.

WinStudio 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.

Notice that the Background Color property field displays "V(gbgc_variableName), and the Ext. Color attribute fields are populated with the values as specified in the color definition.


Related Topics

About Setting Form and Component Background Colors

Edit Color Dialog Box

Creating and Applying a Background Color Definition Variable

Background Color Property