ok here is what I do have:

Code:
'Disable TextBox1 and change background color
If CheckBox2.Checked = True Then TextBox1.Enabled = False
If CheckBox2.Checked = True Then TextBox1.BackColor = system.Drawing.SystemColors.Control
why can't I do something like so???

Code:
'Disable TextBox1 and change background color
If CheckBox2.Checked = True Then TextBox1.Enabled = False and TextBox1.BackColor = system.Drawing.SystemColors.Control
I have tried replacing the and with "then" but that doesnt seem to work... I keep getting the blue underline with errors....

Any ideas?


Anjari