[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
... COLOR <nClrFore>, <nClrBack> Using RGB Colors
--------------------------------------------------------------------------------
<nClrFore> An RGB number specifying the new color for the Text.
<nClrBack> An RGB number specifying the new color for the background.
Example:
DEFINE WINDOW oWnd FROM 1, 1 TO 20, 40 ;
TITLE "Hello World!" COLOR RGB( 0, 40, 156 ), RGB( 80, 60, 20 )
ACTIVATE WINDOW oWnd
Example:
For standard colors, you may use the #define values FiveWin offers in
colors.ch:
DEFINE WINDOW oWnd FROM 1, 1 TO 20, 40 ;
TITLE "Hello World!" COLOR CLR_WHITE, CLR_RED
ACTIVATE WINDOW oWnd
Example:
REDEFINE GET cName ID 110 OF oDlg ;
COLOR CLR_BLACK, CLR_GREEN
Example:
@ 2, 2 SAY "Hello" OF oWnd COLOR CLR_YELLOW, CLR_WHITE
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson