Go Up to Types of Controls Index
The shape component displays a geometric shape. It is a nonwindowed control and therefore, cannot receive user input. The Shape property determines which shape the control assumes. To change the shape's color or add a pattern, use the Brush property, which holds a TBrush object. How the shape is painted depends on the Color and Style properties of TBrush.