Change text colour

kryten

Registered User.
Local time
Today, 06:27
Joined
Jul 24, 2004
Messages
40
Hi everyone,

What code would I use to change the text colour of a text box when a checkbox is ticked?

I need to change the text colour to red to alert the user when they enter an item where the discontinued box is checked.

Thanks for any advice you can give.
 
Something like this?

Code:
If Me.Discontinued_Box Then
   Me.TextBox_Name.ForeColor=RGB(255,0,0)
End If


Greetings from Berlin

Agnostiker
 

Users who are viewing this thread

Back
Top Bottom