Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 1.29 KB

Access.ListBox.BackTint.md

File metadata and controls

43 lines (26 loc) · 1.29 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
ListBox.BackTint property (Access)
vbaac10.chm14632
vbaac10.chm14632
Access.ListBox.BackTint
822bb0ff-5439-8150-5c3d-1738160ae654
02/28/2019
medium

ListBox.BackTint property (Access)

Gets or sets the tint that is applied to the theme color in the BackColor property of the specified object. Read/write Single.

Syntax

expression.BackTint

expression A variable that represents a ListBox object.

Remarks

The BackTint property contains a numeric expression that can be used to lighten the theme color in the BackColor property. The default value of the BackTint property is 100, which is neutral, and does not change the theme color.

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. 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

The following code example lightens the BackColor property by 75%.

Me.ctl.BackTint=25

[!includeSupport and feedback]