[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
oBrush Exported, TBRUSH Object, User
------------------------------------------------------------------------------
Contains a reference to the brush object that paints the client Area of
the window. This object will be created by the SetColor() method, or it
is initialized with the DEFINE WINDOW .. BRUSH <oBrush> clause.
The brush Object of a window is automatically built based on the Back
color of the Object ( ::nClrPane ), unless the user specifies a
special Brush Object when calling the constructor:
EXAMPLE:
+-------------------------------------------------------------+
| /* Change the default color */ |
| |
| DEFINE WINDOW oWnd FROM 1,1 TO 20, 40 ; |
| TITLE "New colors!" ; |
| COLOR "GR+/R" |
| |
| ACTIVATE WINDOW oWnd |
+-------------------------------------------------------------+
This Window has Yellow color (GR+) as nClrText value and Red color (R)
as its nClrPane value. ::oBrush will be using the Red Color.
See Also:
SetBrush
DEFINE WINDOW
TBrush
nClrText
nClrPane
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson