Setting the background color to a single color with transparency
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 “” option.
- Use the color picker or type a set of numbers to specify an RGB value for the “Ext. Color 0” attribute.
- For the “Ext. Color Alpha 0” attribute, specify a value for transparency between 0 (fully transparent) and 255 (fully opaque).
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.