Export (0) Print
Expand All
F
Expand Minimize
This topic has not yet been rated - Rate this topic

Visual Basic Reference

Visual Studio 6.0

FillColor Property

See Also    Example    Applies To

Returns or sets the color used to fill in shapes; FillColor is also used to fill in circles and boxes created with the Circle and Line graphics methods.

Syntax

object.FillColor [ = value]

The FillColor property syntax has these parts:

Part Description
Object An object expression that evaluates to an object in the Applies To list.
Value A value or constant that determines the fill color, as described in Settings.

Settings

The settings for value are:

Setting Description
Normal RGB colors Colors set with the RGB or QBColor functions in code.
System default colors Colors specified with the system color constants in the Visual Basic (VB) object library in the Object Browser. The Microsoft Windows operating environment substitutes the user's choices, as specified by the user's Control Panel settings.

By default, FillColor is set to 0 (Black).

Remarks

Except for the Form object, when the FillStyle property is set to its default, 1 (Transparent), the FillColor setting is ignored.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.