ToggleButton.BackTint Property (Access)
TOC
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

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

Version Added: Access 2010

expression .BackTint

expression A variable that represents a ToggleButton object.

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

The following code lightens the BackColor by 75%.

Me.ctl.BackTint=25
Show:
© 2016 Microsoft