FillStyle Property

Specifies the pattern used to fill shapes and figures created with the Circle and Box graphics methods. Available at design time and run time.

Object.FillStyle[ = nStyle]

Return Value

  • nStyle
    Specifies the pattern used to fill a shape or figure. The settings for the FillStyle property are:

    Setting

    Description

    0

    Solid.

    1

    (Default) Transparent. The FillColor property is ignored.

    2

    Horizontal Line.

    3

    Vertical Line.

    4

    Upward Diagonal. Upward diagonal lines from upper left to lower right.

    5

    Downward Diagonal. Downward diagonal from lower left to upper right.

    6

    Cross. Crossed vertical and horizontal lines forming squares.

    7

    Diagonal Cross.

Remarks

Applies To: Form Object | _SCREEN System Variable | Shape Control

See Also

Reference

BorderStyle Property

Box Method

Circle Method

DrawMode Property

DrawStyle Property

DrawWidth Property

FillColor Property (Visual FoxPro)

Other Resources

Properties (Visual FoxPro)

Language Reference (Visual FoxPro)