Frame... example for Delphi
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 := RGB(0, 0, 0);
LEADRasterView1.FrameInnerStyle := EFX_INNERSTYLE_INSET;
LEADRasterView1.FrameOuterStyle := EFX_OUTERSTYLE_INSET;
LEADRasterView1.FrameInnerHiliteColor := RGB(255, 255, 0); //Yellow
LEADRasterView1.FrameInnerShadowColor := RGB(128, 128, 128); //Dark Gray
LEADRasterView1.FrameOuterHiliteColor := RGB(255, 0, 0); //Red
LEADRasterView1.FrameOuterShadowColor := RGB(192, 192, 192); //Light Gray
LEADRasterView1.FrameInnerThickness := 3;
LEADRasterView1.FrameOuterThickness := 3;
LEADRasterView1.AutoRepaint := True;