_BUILDER

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


View Updates

Copyright © 2002 by Tamar E. Granor, Ted Roche, Doug Hennig, and Della Martin. All Rights Reserved.



Hacker's Guide to Visual FoxPro 7. 0
Hackers Guide to Visual FoxPro 7.0
ISBN: 1930919220
EAN: 2147483647
Year: 2001
Pages: 899

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net