BackStyle Property

Applies To

Bound Object Frame Control, Chart Control, Combo Box Control, Image Control, Label Control, Option Group Control, Rectangle Control, Text Box Control, Unbound Object Frame Control.

Description

You can use the BackStyle property to specify whether the control will be transparent.

Setting

The BackStyle property uses the following settings.

Setting Description Visual Basic
Normal (Default for all controls except option group) The control has its interior color set by the BackColor property. 1
Transparent (Default for option group) The control is transparent. The color of the form or report behind the control is visible. 0


You can set this property using the Formatting toolbar, a control’s property sheet, a macro, or Visual Basic.

You can set the default for this property using a control’s default control style.

Remarks

If the Transparent button on the BackColor toolbar palette is selected, the BackStyle property is set to Transparent; otherwise the BackStyle property is set to Normal.

Tip To make a command button invisible, set its Transparent property to Yes.

See Also

BackColor Property, SpecialEffect Property.