FillStyle

Returns or sets the pattern used to fill Shape controls as well as circles and boxes created with the DrawCircle and DrawLine graphics methods.

Syntax

object.FillStyle [= number]

The parts of the FillStyle property syntax are described in the following table.

Part Description
object An object expression that evaluates to an object.
number An integer that specifies the fill style, as described in Settings.

Settings

The number settings are described in the following table.

Constant Setting Description
vbFSSolid 0 Solid
vbFSTransparent 1 (Default) Transparent

Remarks

When FillStyle is set to 1 (Transparent), the FillColor property is ignored, except for the Form object.