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


Back to Table of Contents

Copyright © 2002-2018 by Tamar E. Granor, Ted Roche, Doug Hennig, and Della Martin. Click for license .