Shape Control

Properties   Events   Methods   Example   See Also

Creates a Shape control that displays a box, circle, or ellipse.

Syntax

Shape

Remarks

A Shape control is a graphical control that displays a box, circle, or ellipse that can't be changed directly. However, because a Shape control has a full set of properties, events, and methods that other controls have, the Shape control can respond to events and can be changed dynamically at run time.

The Curvature property determines what shape is displayed and can vary from 0 to 99. 0 specifies no curvature and creates square corners; 99 specifies maximum curvature and creates circles and ellipses.

For additional information about creating shapes, see the Form Designer topic and Chapter 10, Using Controls, in the Programmer's Guide.