5 pts.
 Visual Basic how to make Panel which in Disable into little Dark in color
Hi sir

I have application where their are 5 panels.I have to make like if we press one button on form which got 5 panels then its just focus on particular 1 panel n rest all panel became disable with little dark in color.

 



Software/Hardware used:
visual basic
ASKED: April 8, 2010  4:19 AM
UPDATED: April 8, 2010  3:49 PM

Answer Wiki:
If I understand your question correctly, then something like this should do what you need: <pre> Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Panel2.Enabled = False Panel2.BackColor = Color.DarkGray Panel3.Enabled = False Panel3.BackColor = Color.DarkGray ... End Sub</pre> -CarlosDL
Last Wiki Answer Submitted:  April 8, 2010  3:00 pm  by  carlosdl   63,535 pts.
All Answer Wiki Contributors:  carlosdl   63,535 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _