Share via


CommandButton.PressedForeColor Property (Access)

Gets or sets the color of the text displayed on the control when the user clicks it. Read/write Long.

Version Information

Version Added: Access 2010

Syntax

expression .PressedForeColor

expression A variable that represents a CommandButton object.

Remarks

The PressedForeColor property contains a numeric expression that represents the value of the text color in the control.

You can use the Color Builder to set this property by clicking the Build button to the right of the property box in the property sheet. Using the Color Builder enables you to define custom colors.

See Also

Concepts

CommandButton Object Members

CommandButton Object