Visual Basic Reference

Shape Control

See Also    Example    Properties    Methods    Events

The Shape control is a graphical control displayed as a rectangle, square, oval, circle, rounded rectangle, or rounded square.

Syntax

Shape

Remarks

Use Shape controls at design time instead of, or in addition to, invoking Circle and Line methods at run time. You can draw a Shape control in a container, but it can't act as a container. The effect of setting the BorderStyle property depends on the setting of the BorderWidth property. If BorderWidth isn't 1 and BorderStyle isn't 0 or 6, BorderStyle is set to 1.