Frame Color (FrameColor)

The Frame Color widget property determines the color of the frame around the widget, if a frame is specified.

"FrameColor=ColorName | HexColorNumber"

Example: "FrameColor=midnightblue"

Value

Description

ColorName

Name of a web color or system color. For more information, see Standard Colors .

HexColorNumber

Hexadecimal number (prefixed by a hash mark) of a color. For example: #D90E1A.

RGBColor

RGB (Red Green Blue) numeric values in the form R,G,B. For example 255,0,0

Usage

Dynamic?

Yes

Supported in Grid?

No

Dependencies:

Frame

Drop-Down List and TabEx

By default, if Frame is true, a frame is displayed according to the Windows default or theme. If a valid color is defined for the Frame Color, the specified color is used instead of the default.

Command Button

For command buttons, this property is supported only when the Representation property is set to Uniface. The default frame color is black, but you can use the Frame Color property to set it to another color.

However, if Frame Type is set to 3D, the Frame Color is applied only when the command button has focus.

Related Topics