• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

2. Forms > 2.2. Highlight the Current Field in Data-Entry Forms

2.2. Highlight the Current Field in Data-Entry Forms

Problem

The text cursor is too small in Access, and you can’t always tell which text box on a form has the focus. You need some way to really highlight the current field.

Solution

There are many visual cues you can use to tell the user which text box contains the cursor. You can change the color of the text or the background, change the appearance of the text box, or change the appearance of the text box’s label.

The simplest solution, which works quite well, is to change the BackColor and SpecialEffect properties of the active control. This solution uses some simple VBA code, which is attached to each control’s Enter and Exit events, to do the work.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint