SpecialEffect Property

Applies To   See Also

Specifies different format options for a control. Available at design time and run time. SpecialEffect is ignored for command buttons.

Syntax

[Form.]Control.SpecialEffect = nExpr

Settings

nExpr

For a PageFrame control, Container object, or Control object, the settings for the SpecialEffect property are as follows:

Setting Description
0 Raised. The control appears to be raised from the form.
1 Sunken. The control appears to be set into the form.
2 Flat.

Note   For a PageFrame control, SpecialEffect is available only if the Tabs Property is set to false (.F.). Also, the BorderColor property for a PageFrame applies only when nExpr is set to 2 (Flat).

For all other controls, the settings for the SpecialEffect property are as follows:

Setting Description
0 (Default for all controls and objects except the Container object.) 3D. Border of control is raised to simulate a 3-dimensional look.
1 Plain. Control appears without a 3-dimensional border.

Note   If the Height property is set to a value too small, the 3D setting has no effect.