Hacker’s Guide to Visual FoxPro
An irreverent look at how Visual FoxPro really works. Tells you the inside scoop on every command, function, property, event and method of Visual FoxPro.
A property of a shape that describes how rounded its corners are, from square to circle.
shpShape.Curvature = nCurves
nCurves = shpShape.Curvature
Parameter |
Value |
Meaning |
nCurves |
0 |
No curvature; right-angle corners form a square or rectangle. |
1 through 98 |
Increasing curvature, forming ovals. |
|
99 |
Ultimate curvature, forming a circle or ellipse. |
Curvature can be used to dynamically change the shape of the object as conditions change. We haven’t found a lot of use for this in our data-based applications, but it can be used for great special effects.
frmForm1.shpShape1.Curvature = 99 && draws a circle,
&& if height=width