SpecialEffect Property

Applies To

Bound Object Frame Control, Chart Control, Check Box Control, Combo Box Control, Form Section, Image Control, Label Control, List Box Control, Option Button Control, Option Group Control, Rectangle Control, Report Section, Text Box Control, Unbound Object Frame Control.

Description

You can use the SpecialEffect property to specify whether special formatting will apply to a section or control.

Setting

The SpecialEffect property uses the following settings.

Setting

Example

Description

Visual Basic

Flat

The object appears flat and has the system’s default colors or custom colors that were set in Design view.

0

Raised

The object has a highlight on the top and left and a shadow on the bottom and right.

1

Sunken

The object has a shadow on the top and left and a highlight on the bottom and right.

2

Etched

The object has a sunken line surrounding the control.

3

Shadow

The object has a shadow below and to the right of the control.

4

Chiseled

The object has a sunken line below the control.

5


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

For controls, you can set the default for this property using the default control style of the Label button on the Control bar.

Remarks

The SpecialEffect property setting affects related property settings for the BorderStyle, BorderColor, and BorderWidth properties. For example, if the SpecialEffect property is set to Raised the settings for the BorderStyle, BorderColor, and BorderWidth properties are ignored. In addition, changing or setting the BorderStyle, BorderColor, and BorderWidth properties may cause Microsoft Access to change the SpecialEffect property setting.

See Also

BackStyle Property, BorderColor Property, BorderStyle Property, BorderWidth Property.