Rectangle.BottomRightColor

From Xojo Documentation

Property (As Color )
aRectangle.BottomRightColor = newColorValue
or
ColorValue = aRectangle.BottomRightColor

Supported for all project types and targets.

The color of the bottom and right edges of the rectangle.


Example

This example sets the BottomRightColor to one of the standard colors. This code is in the Open event of the control.

//Sunken Appearance
Me.BorderWidth=2
Me.TopLeftColor=DarkBevelColor
Me.BottomRightColor=LightBevelColor
Me.FillColor=FillColor
//Raised Appearance
Me.BorderWidth=2
Me.TopLeftColor=LightBevelColor
Me.BottomRightColor=DarkBevelColor
Me.FillColor=FillColor