Adding a Frame to the Control

The following properties let you add a three-dimensional frame to the LEAD control:

FrameThickness property

FrameColor property

You can turn the frame off by specifying a thickness of 0. When the frame is turned on, the ScaleHeight and ScaleWidth properties are updated to reflect the smaller size of the client area. The automated fit modes also fit the image into the smaller client area.

The following properties specify the inner and outer bands that give the frame a three-dimensional appearance:

FrameInnerStyle property

FrameInnerThickness property

FrameInnerHiliteColor property

FrameInnerShadowColor property

FrameOuterStyle property

FrameOuterThickness property

FrameOuterHiliteColor property

FrameOuterShadowColor property