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

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

語法Syntax

運算式BackTintexpression.BackTint

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

註解Remarks

BackTint 屬性包含一個數值運算式,可用來變淡 BackColor 屬性中的佈景主題色彩。The BackTint property contains a numeric expression that can be used to lighten the theme color in the BackColor property. BackTint 屬性的預設值為 100,也就是中性,不會變更的佈景主題色彩。The default value of the BackTint 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 tint by 75%, subtract 75 from 100 and use the remainder, which is 25.

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

範例Example

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

Me.ctl.BackTint=25

支援和意見反應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.