Difference between revisions of "@...FILL"

From Recital Documentation Wiki
Jump to: navigation, search
 
(Products)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=@...FILL=
 
 
 
==Class==
 
Screen Forms
 
 
 
 
==Purpose==
 
==Purpose==
 
Change the colors of a specified region
 
Change the colors of a specified region
Line 15: Line 8:
  
 
==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 @…FILL command clears the specified region of the screen.  If SET DEVICE TO PRINT is in effect, then this command is ignored.
+
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.
Line 39: Line 32:
  
 
==Products==
 
==Products==
Recital Mirage Server, Recital Terminal Developer
+
Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
 +
[[Category:Screen Forms]]
 +
[[Category:Screen Forms Commands]]
 +
[[Category:UI Commands]]

Latest revision as of 10:57, 30 November 2009

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