Returns or sets the color used to fill in graphic methods.
Object.FillColor [ = Number ]
The FillColor property syntax has the following parts:
Name |
Type |
Description |
Object |
AForm |
AForm object |
Number |
An integer specifying the fill color of the object. |
The property will effect the drawing of the Circle, DrawText and Rectangle functions if the clrFill argument is not supplied.
The default color is black. This property can be set at design time and is read-only at run time. The property is not applicable for MDI Form type since drawing functions are not supported for MDI Forms.
The following statements draw a circle with red line and blue fill:
FillColor=aclrBlue
ForeColor=aclrRed
Circle(,100, 100, 50)
Circle, FillStyle, ForeColor, Line