TextBox.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 TextBox 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. |
1 |
Object has a highlight on the top and left and a shadow on the bottom and right. |
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. |
3 |
Border appears to be carved around the edge of the control. |
6 |
Object has a ridge on the bottom and right and appears flat on the top and left. |
You can use either the SpecialEffect or the BorderStyle property to specify the edging for a control, but not both. If you specify a nonzero value for one of these properties, the system sets the value of the other property to zero. For example, if you set SpecialEffect to 1, the system sets BorderStyle to 0.
SpecialEffect uses the system colors to define its borders.