Difference between revisions of "SET COLOR OF"
From Recital Documentation Wiki
		
		
		
| Yvonnemilne  (Talk | contribs) | Barrymavin  (Talk | contribs)   (→Example) | ||
| Line 64: | Line 64: | ||
| ==Example== | ==Example== | ||
| − | < | + | <code lang="recital"> | 
| set color of menu to W			&& set menus to white | set color of menu to W			&& set menus to white | ||
| foreground = "N"				&&use memory variables | foreground = "N"				&&use memory variables | ||
| background = "GR" | background = "GR" | ||
| − | set color to (foreground + "/" + background)</ | + | set color to (foreground + "/" + background)</code> | 
| − | + | ||
| ==Products== | ==Products== | ||
Revision as of 04:47, 12 March 2009
Contents
SET COLOR OF
Class
Screen Environment
Purpose
Change the color of a predefined display area
Syntax
SET COLOR OF <display area> TO [<color>] SET COLOR OF SCHEME <expN> TO [<color> | SCHEME <expN>] SET COLOR SET TO [<expN>]
See Also
@...FILL, @...GET, @...SAY, @...TO, CLEAR, RESTORE COLOR, SAVE COLOR, SET COLOR, ISCOLOR(), SETCOLOR()
Description
The SET COLOR OF <display area> TO <color> command controls predefined screen area groupings so that you can change color attributes of individual screen areas independent of one another. The following display areas are predefined.
| Display Area | Description | 
| ALERT | All error message alert boxes | 
| BOX | All boxes | 
| BROWSE | BROWSE work surface | 
| BROWSEFRAME | BROWSE frames | 
| DIALOG | Dialog boxes | 
| [DIALOG]FRAME | Frames around dialog boxes | 
| FIELDS | Normal display area like <standard> | 
| GETFOCUS | Current get field | 
| HELP | Message line | 
| HIGHLIGHT | Highlighted menu options | 
| INFORMATION | Status bar, clock, etc | 
| MENUS | Pulldown, pop-up menus | 
| MESSAGES | System message bar | 
| NORMAL | Normal screen output | 
| SHADOWS | Bottom and right edge of dialog boxes | 
| TITLES | Dialog box titles | 
The SET COLOR OF SCHEME and SET COLOR SET commands have been added for syntax compatibility with FoxPro.
Example
set color of menu to W && set menus to white foreground = "N" &&use memory variables background = "GR" set color to (foreground + "/" + background)
Products
Recital Mirage Server, Recital Terminal Developer
