Difference between revisions of "@...FILL"
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
==Class== | ==Class== | ||
Screen Forms | Screen Forms | ||
Line 15: | Line 12: | ||
==See Also== | ==See Also== | ||
− | [[@...BOX]], [[@...CLEAR]], [[@...GET]], [[@...MENU]], [[@...PROMPT]], [[@...SAY]], [[@...SCROLL]], [[@...TO]], [[CLEAR]], [[CLEAR SCREEN]], [[ISCOLOR()]], [[RESTORE COLOR]], [[RESTORE SCREEN]], [[SAVE COLOR]], [[SAVE SCREEN]], [[SET COLOR]], [[SETCOLOR()]] | + | [[@...BOX]], [[@...CLEAR]], [[@...GET]], [[@...MENU]], [[@...PROMPT]], [[@...SAY]], [[@...SCROLL]], [[@...TO]], [[CLEAR]], [[CLEAR SCREEN]], [[ISCOLOR()]], [[RESTORE COLOR]], [[RESTORE SCREEN]], [[SAVE COLOR]], [[SAVE SCREEN]], [[SET COLOR]], [[SET DEVICE]], [[SETCOLOR()]] |
==Description== | ==Description== | ||
− | The @...FILL command changes the colors of the text in the specified region of the screen, or window. Only the standard foreground and background colors in the area can be changed. This command affects the display already on the screen and any subsequent commands that write to this area will use the default colors, not the colors set with the @...FILL command. If the COLOR <color> option is omitted, the @ | + | The @...FILL command changes the colors of the text in the specified region of the screen, or window. Only the standard foreground and background colors in the area can be changed. This command affects the display already on the screen and any subsequent commands that write to this area will use the default colors, not the colors set with the @...FILL command. If the COLOR <color> option is omitted, the @...FILL command clears the specified region of the screen. If SET DEVICE TO PRINT is in effect, then this command is ignored. |
The region on the screen is specified using <expN1> and <expN2> as the top left corner row and column coordinates, and <expN3>, <expN4> as the bottom right corner row and column coordinates. | The region on the screen is specified using <expN1> and <expN2> as the top left corner row and column coordinates, and <expN3>, <expN4> as the bottom right corner row and column coordinates. |
Revision as of 13:50, 27 April 2009
Class
Screen Forms
Purpose
Change the colors of a specified region
Syntax
@<expN1>,<expN2> FILL TO <expN3>,<expN4> [COLOR <color>]
See Also
@...BOX, @...CLEAR, @...GET, @...MENU, @...PROMPT, @...SAY, @...SCROLL, @...TO, CLEAR, CLEAR SCREEN, ISCOLOR(), RESTORE COLOR, RESTORE SCREEN, SAVE COLOR, SAVE SCREEN, SET COLOR, SET DEVICE, SETCOLOR()
Description
The @...FILL command changes the colors of the text in the specified region of the screen, or window. Only the standard foreground and background colors in the area can be changed. This command affects the display already on the screen and any subsequent commands that write to this area will use the default colors, not the colors set with the @...FILL command. If the COLOR <color> option is omitted, the @...FILL command clears the specified region of the screen. If SET DEVICE TO PRINT is in effect, then this command is ignored.
The region on the screen is specified using <expN1> and <expN2> as the top left corner row and column coordinates, and <expN3>, <expN4> as the bottom right corner row and column coordinates.
Clause | Description |
---|---|
COLOR <color> | The <color> is a color pair. A color pair is a set of two letters separated by a forward slash. The first color letter specifies the foreground color and the second letter specifies the background color. |
Example
@05,00 fill to 08,09 color gr+/b
Products
Recital Mirage Server, Recital Terminal Developer