Table of contents
TOC
折叠目录
展开目录

CommandButton.PressedForeColor 属性 (访问)CommandButton.PressedForeColor Property (Access)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

获取或设置当用户单击该控件上显示的文本的颜色。读/写Gets or sets the color of the text displayed on the control when the user clicks it. Read/write Long.

语法Syntax

表达式PressedForeColorexpression. PressedForeColor

表达式_一个表示命令按钮对象的变量。_expression A variable that represents a CommandButton object.

注解Remarks

PressedForeColor属性包含数值表达式,表示控件中的文本颜色的值。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

© 2018 Microsoft