[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 ... BRUSH <oBrush>                  Using Brushes
--------------------------------------------------------------------------------

  <oBrush>     Is a TBrush Object.

  Windows uses the handle of that brush Object to fill all the surface of
  the Window or Control which is using it.

  By default, Brush Objects are built from the current Back color
  -nClrPane- of the Object.

   Example:

   DEFINE BRUSH oBrush RESOURCE "FillOne"

   DEFINE WINDOW oWnd FROM 1, 1 TO 20, 40 ;
      TITLE "Hello World" ;
      COLOR "GR+/R" ;
      BRUSH oBrush

   ACTIVATE WINDOW oWnd

   This Window has Yellow color (GR+) as nClrText DATA and Red color (R)
   as its nClrPane DATA. It also has an oBrush Object, but the Brush was
   already built.

See Also: TBrush Window Commands
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson