Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 887 Bytes

File metadata and controls

27 lines (18 loc) · 887 Bytes

FillColor

This property determines the color used to fill in graphic objects and shapes.

Usage

oObject.FillColor = nColor
nColor = oObject.FillColor

The FillColor property of a form specifies the color used to fill in rectangles, circles and ellipses drawn with the form's Box and Circle methods. (_SCREEN is considered a form for this purpose.) A shape's FillColor determines its interior.

FillColor matters only when FillStyle is something other than the default 1 (Transparent).

See DrawMode for a form that demonstrates the effects of FillColor and FillStyle.

Example

_Screen.FillColor = RGB(128,0,0)  && deep red
_Screen.FillStyle = 6             && checks - country style
_Screen.Box(0, 0, 100, 100)

See Also

BackColor, DrawMode, DrawStyle, FillStyle