By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,344 Members | 1,114 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,344 IT Pros & Developers. It's quick & easy.

Changing weird

P: n/a
Hey everyone..I have no idea why this is happening..its so weird. I am
trying to change the backcolor of a panel when a textbox changes value. The
code is as follows:

Private Sub Status_TextChanged(ByVal eventSender As System.Object, ByVal
eventargs As System.EventArgs) Handles Status.TextChanged
If Me.IsInitializing = True Then
Exit Sub
'update status box
Me.Panel1.BackColor = Color.Gold

End If

End Sub

Crazy straightforward right? I can change the panel's color when adding the
Me.Panel1.BackColor = Color.Gold
to mybase.load...but not after the fact. For that matter..I am switching
images to be visible/not visible in the sub Status_TextChanged (which i
omitted here for brevity)...and they are not switching either. The values
are being assigned to the properties when I step through and float my mouse
over them...but the form is not changing. Whats causing this? In every
other form changes...many thanks!!!
Mar 27 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.