468,253 Members | 1,297 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,253 developers. It's quick & easy.

Changing properties..so simple...so weird

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 sub...my form changes...many thanks!!!
Mar 27 '06 #1
0 949

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Francois Trottier | last post: by
1 post views Thread by Jaweed | last post: by
17 posts views Thread by Lee Harr | last post: by
8 posts views Thread by Phil Reynolds | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by kermitthefrogpy | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.