This property determines the pattern used to fill graphic objects and shapes. A form's FillStyle applies to items drawn with the form's Box and Circle methods. A shape has its own FillStyle property.
oObject.FillStyle = nFillStyle
nFillStyle = oObject.FillStyleThe default FillStyle is 1 for Transparent. In this case, the object's FillColor is ignored. For the other seven fill styles (which range from solid through variously oriented lines to straight or diagonal cross-hatching), FillColor determines the color of the interior. The settings for FillStyle are included in FoxPro.H.
See DrawMode for a cool form that demonstrates the effects of FillStyle.
* Create a form
oForm = CREATEOBJECT("Form")
oForm.AddObject("MyShape", "Shape")
oForm.MyShape.Visible = .T.
oForm.Show()
oForm.MyShape.FillStyle = 0 && Solid
oForm.MyShape.FillColor = RGB(0,0,255) && Blue
oForm.MyShape.FillStyle = 4 && Diagonal, still blue