Ok.
- The Change event of a control, will fire whenever you type a character
into it. So that is the event you need.
- The background color of a control, is changed by setting its BackColor
property to a number. For example, 0=black. 255=red. Or better, use the
RGB() function. For example, RGB(11,22,33) returns a number for the color
defined by Red (11 of 255 maximum), Green (22 of 255 maximum) and Blue (33
of 255 maximum).
So you just need to code a Change event for the control(s) in question, to
change their BackColor properties to a color number as defined above.
I will not try to give you the code, because I don't have Access here to
check. But it should be very simple.
HTH,
TC
"Antonio" <(E-Mail Removed)> wrote in message
news:085101c38030$bc011940$(E-Mail Removed)...
> Yes, exactly.
> >-----Original Message-----
> >Do you mean, when the user types some characters into a
> previously-blank
> >field, its color should instantly change to something
> else?
> >
> >TC
> >
> >
> >"Antonio" <(E-Mail Removed)> wrote in message
> >news:7b5b01c37e54$cc29f400$(E-Mail Removed)...
> >> I have a form that contains several data fields. For the
> >> field properties the Backround Style + Transparent and
> the
> >> Backround Color = White. Is there a way to set the
> fields
> >> so that each time data is entered into the field the
> >> backround color changes from white to a different color?
> >>
> >> TIA
> >> Antonio
> >
> >
> >.
> >
|