Frame... example for C++ Builder
This example sets the control's frame properties. For example purposes, both inner and outer bands are turned on. However, normal three-dimensional effects use inner bands or outer bands, but not both.
Lead1->AutoRepaint = False;
Lead1->FrameThickness = 2;
Lead1->FrameColor = (TColor)RGB(0, 0, 0);
Lead1->FrameInnerStyle = fisInset;
Lead1->FrameOuterStyle = fosRaised ;
Lead1->FrameInnerHiliteColor = (TColor)RGB(255, 255, 0); /*Yellow*/
Lead1->FrameInnerShadowColor = (TColor)RGB(128, 128, 128); /* Dark Gray */
Lead1->FrameOuterHiliteColor = (TColor)RGB(255, 0, 0); /* Red */
Lead1->FrameOuterShadowColor = (TColor)RGB(192, 192, 192); /*Light Gray */
Lead1->FrameInnerThickness = 3;
Lead1->FrameOuterThickness = 3;
Lead1->AutoRepaint = True;