Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

ToggleButton.ForeTint Property (Access)

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

Version Added: Access 2010

expression .ForeTint

expression A variable that represents a ToggleButton object.

The ForeTint property contains a numeric expression that can be used to lighten the theme color in the ForeColor property. The default value of the ForeTint 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 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 example lightens the ForeColor by 75%.

Me.ctl.ForeTint=25
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.