Mastering the Shape Control

The Shape control gives you the capability to draw six different kinds of figures on the form. The various shading and color properties help you distinguish one shape from another. Table 9.3 lists the basic properties you'll use for the Shape control, the most important of which is the Shape property. The Shape property selects a particular shape from one of the six fundamental shapes.

Table 9.3. The Shape Control's Fundamental Properties
Property Description
BackColor Specifies a Windows color value that determines the background color of the shape.
BackStyle Contains either 0-Transparent (the default) or 1-Opaque, which determines whether the background of the form appears through the shape or if the shape hides whatever ...

Get Absolute Beginner's Guide to Programming, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.