Setting the background color to a linear gradient
Each form and valid form component can have its own background color settings. These settings can come from background color definition variables or you can set them directly in the Form or Component property sheet in Design Mode.
To set the background color of a form or component to a single, solid color with no transparency:
- With a form open and in Design Mode, select the appropriate property sheet for the form or component.
- Locate the Ext. Color Type attribute field (below the Background Color property) and select the Gradient option.
- Use the color picker or type a set of numbers to specify an RGB value for the Ext. Color 0 and Ext. Color 1 attributes.
- (Optional) For the Ext. Color Alpha 0 and Ext. Color Alpha 1 attributes, specify values for transparency between 0 (fully transparent) and 255 (fully opaque).
- (Optional) In the Ext. Color - Gradient Direction attribute field, specify the direction for the gradient to use.
Notice that the Background Color property field displays:
- V(bgc_Form) for a form background
- V(bgc_componentName) for a component background, where componentName is the name of the component as displayed in the Name field.