Results 1 to 2 of 2

Thread: Changing color for single control on subform; MS Access 2000

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 1999
    Location
    Manhattan, KS USA
    Posts
    2

    Post

    MS Access 2000 lets you set the color/format of a control on a form based on an event (such as "on focus"). Is there a way I can get ahold of this functionality with an API call? I am wanting to set the background color of a text box control on a subform when the subform/control does not have focus, to serve as a visual by highlighting important information (on only one of the continuous subforms displayed) while the user types in data elsewhere. Thanks in advance!

  2. #2
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105

    Post

    You could set the backColor property (and/or font properties) of a text box on the "lost focus" event to one value and to something else on the "got focus" event.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width