RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWinControl.Brush Property

Determines the color and pattern used for painting the background of the control.

Pascal
property Brush: TBrush;
C++
__property TBrush Brush;

The Brush property accesses the TBrush object that determines pattern and color for the control background. Brush is a read-only property, but an application can manipulate the TBrush object by setting its properties or by using its Assign method. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!