FrameColor Function

The currently selected color for outlining objects, as set by the operating system.

Syntax
result = FrameColor( )

Return Value
Result | Color | The color used for drawing the outline of a RectControl.

# Notes

This value is useful when you are using Canvas controls to create custom controls. When drawing objects, use this color for the object's frame. ListBoxes, for example, use this color to draw the dark frame around the ListBox.

This value can be changed by the user, so you should access this value in your Paint Event handler rather than storing the value.

# See Also

DarkBevelColor, DarkTingeColor, FillColor, HighlightColor, LightBevelColor, LightTingeColor, TextColor functions; Color data type.