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.
Note: Be aware that whatever color definition you set in the property
sheets applies only to the specified form or component. If you want to reuse
color definitions for a consistent look-and-feel, you should define and use
background color definition variables in the
Edit Color dialog box.
To set the background color of a form or component to a single color with 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.
Related topics