Creating 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.
- To adjust a color definition variable without affecting the definition itself, apply the variable 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 variable created and available in the system.
To create and apply a new color definition variable (and add it to a list of existing color definition variables):
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 view.
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.