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.
LEADRasterView1->AutoRepaint = False;
LEADRasterView1->FrameThickness = 2;
LEADRasterView1->FrameColor = (TColor)RGB(0, 0, 0);
LEADRasterView1->FrameInnerStyle = EFX_INNERSTYLE_INSET;
LEADRasterView1->FrameOuterStyle = EFX_OUTERSTYLE_INSET;
LEADRasterView1->FrameInnerHiliteColor = (TColor)RGB(255, 255, 0); //Yellow
LEADRasterView1->FrameInnerShadowColor = (TColor)RGB(128, 128, 128); //Dark Gray
LEADRasterView1->FrameOuterHiliteColor = (TColor)RGB(255, 0, 0); //Red
LEADRasterView1->FrameOuterShadowColor = (TColor)RGB(192, 192, 192); //Light Gray
LEADRasterView1->FrameInnerThickness = 3;
LEADRasterView1->FrameOuterThickness = 3;
LEADRasterView1->AutoRepaint = True;