Textbox Colour

  • Thread starter Thread starter Oli
  • Start date Start date
O

Oli

Hi

When my user is editing a textbox (i.e. the textbox that is the curser is
currently in), I was it to have a different background colour?

Is this possible?

Many thanks in advance,
Oli
 
Hi

When my user is editing a textbox (i.e. the textbox that is the curser is
currently in), I was it to have a different background colour?

Is this possible?

Many thanks in advance,
Oli

You're using a form for this, right?

Code the Control's Enter event:
Me![ControlName].BackColor = vbGreen

Code the Controls Exit event:
Me![ControlName].Backcolor = vbWhite

Change the colors to whatever you want.
 
Back
Top