@ ... FILL Command
Changes the colors of existing text within an area of the screen.
- @ nRow1, nColumn1
Specifies the upper-left corner of the area to change.
- FILL TO nRow2, nColumn2
Specifies the lower-right corner of the area to change.
- COLOR SCHEME nSchemeNumber
Specifies the color of the area. Only the first color pair in the specified color scheme determines the color of the area.
- COLOR ColorPairList
Specifies the color of the area. Only the first color pair in the specified color pair list determines the color of the area.
If you omit the COLOR SCHEME or COLOR clauses, the rectangular portion is cleared. An area can also be cleared with @ ... CLEAR.
This command changes the colors of text within a rectangular area of the main Visual FoxPro window or the active user-defined window. You can set the foreground and background color attributes for existing text only. Any text output to the same area after you issue @ ... FILL appears in the default screen or window colors.
The following example clears the main Visual FoxPro window and fills an area with color.
ACTIVATE SCREEN CLEAR @ 4,1 FILL TO 10, 8 COLOR GR+/B