ComboBox.ForeTint 屬性 (Access)ComboBox.ForeTint property (Access)

取得或設定套用到指定物件 BorderColor 屬性之色彩佈景主題的濃淡。Gets or sets the tint that is applied to the theme color in the ForeColor property of the specified object. 可讀寫的 SingleRead/write Single.



_運算式_代表**ComboBox** 物件的變數。expression A variable that represents a ComboBox object.


ForeTint 屬性包含一個數值運算式,可用來變淡 ForeColor 屬性中的佈景主題色彩。The ForeTint property contains a numeric expression that can be used to lighten the theme color in the ForeColor property. ForeTint 屬性的預設值為 100,也就是中性,不會變更的佈景主題色彩。The default value of the ForeTint property is 100, which is neutral, and does not change the theme color.

若要淡化色彩,首先決定要變淡介於 1 到 100,百分比再為整個數字介於 100 減去該值並使用其餘部分。To lighten the color, first determine the percentage by which to lighten from 1 to 100, and then subtract that value as a whole number from 100 and use the remainder. 例如減輕佈景主題色彩的 75%,由欄位刪減 75 介於 100 和使用其餘部分,其為 25。For example, to lighten the theme color by 75%, subtract 75 from 100 and use the remainder, which is 25.

此屬性不會呈現在屬性表中。This property is not surfaced in the property sheet.


下列程式碼範例會將 ForeColor 屬性淡 75%。The following code example lightens the ForeColor property by 75%.


支援和意見反應Support and feedback

有關於 Office VBA 或這份文件的問題或意見反應嗎?Have questions or feedback about Office VBA or this documentation? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.