FillColor Property

Object List Next Object

Defined By:
Drawable

Description:

Determines the color used to fill the inside of shapes that are being drawn.

Details:

The default FillColor is 0 (Black).You can change this default by using hexadecimal numbers, RGB functions, or QBColor functions in code. The QBColor function is most useful when setting standard colors. Custom colors are easily defined using the RGB function. Any change made to the FillColor property does not affect existing shapes.

The FillColor property works with the FillStyle property to determine what will fill the inside of shapes drawn in a particular container. If the FillStyle is transparent (default), the FillColor setting is ignored and any shapes you draw are blank. If the FillStyle property is solid, the shapes you draw are filled with a solid color. Likewise, if the FillStyle property is a particular pattern (settings 2-7), the pattern is drawn in the designated fill color.

Data Type: Long

See Also:

BackColor property, DrawColor property, FillStyle property