ACC2000: How to Change the Color of the Control That Has Focus on a Form (210263)
The information in this article applies to:
This article was previously published under Q210263 Moderate: Requires basic macro, coding, and interoperability skills.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
SUMMARY
You can set the formatting of a control on a form (for example, a text box) to display a different font color and background color when that control has focus. This can be accomplished by assigning either conditional formatting to the control or Visual Basic for Applications procedures to the On Enter and On Exit events of the control.
REFERENCESFor more information about applying conditional formatting to controls, click Microsoft Access Help on the Help menu, type conditional formatting in a text box or other control on a form or report in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Modification Type: | Major | Last Reviewed: | 6/24/2004 |
---|
Keywords: | kbhowto kbinfo kbusage KB210263 |
---|
|