ToggleButton.SpecialEffect Property (Outlook Forms Script)

Returns or sets an Integer that specifies the visual appearance of an object. Read/write.

Syntax

expression.SpecialEffect

expression A variable that represents a ToggleButton object.

Remarks

The settings for SpecialEffect are:

Value Description
0 Object appears flat, distinguished from the surrounding form by a border, a change of color, or both.
2 Object has a shadow on the top and left and a highlight on the bottom and right. The control and its border appear to be carved into the form that contains them. Default for ToggleButton.

SpecialEffect uses the system colors to define its borders.

Although the SpecialEffect property exists on the ToggleButton, the property is disabled. You cannot set or return a value for this property on the ToggleButton ToggleButton.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.