Condividi tramite


Shape Control

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

Shape

Remarks

A Shape control is a graphical control that displays a box, circle, or ellipse that cannot 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 Using Controls.

See Also

Shape Control Properties, Methods and Events | CREATE CLASS | CREATE FORM | DEFINE CLASS