Setting the background color to a solid color without 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.

Remarque: Be aware that whatever color definition you set in the property sheets applies only to the specified form or component. 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, solid color with no transparency:

  1. With a form open and in Design Mode, select the appropriate property sheet for the form or component.
  2. Locate the Color attribute field (just below the Background Color property) and click the down arrow.
  3. Use the color picker dialog box to select the desired color.

Alternatively, you can type the RGB values (for example, 192, 64, 0) directly into this field.

Notice that the Background Color property field displays the RGB value for the selected color.

Rubriques liées