FillColor Property (AForm)

Returns or sets the color used to fill in graphic methods.

Syntax

Object.FillColor [ = Number ]

The FillColor property syntax has the following parts:

 

Name

Type

Description

Object

AForm

AForm object

Number

AColor

An integer specifying the fill color of the object.

Comments

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.

Example

The following statements draw a circle with red line and blue fill:

FillColor=aclrBlue

ForeColor=aclrRed

Circle(,100, 100, 50)

Applies to

AForm

See Also

Circle, FillStyle, ForeColor, Line