Applies To ActiveX control, Bound Object Frame control, Chart control, Check Box control, Combo Box control, Form section, Image control, Label control, Line control, List Box control, Option Button control, Option Group control, Rectangle control, Report section, Subform/Subreport control, 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 | |
Shadowed | 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 |
See Also BackStyle property, BorderColor property, BorderStyle property, BorderWidth property.