Hello,
I have had Visual Basic for a while, and I'm working on a project for school. Currently it is done. Except, when I click the button (that HAVE been programmed) they do not open their Group. 2 of the 5 buttons for groups work. I was wondering if anyone else has had the problem, and if they could help me solve it.
Below is a snippet from one of my working buttons, and non-working.
Working:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.ClickGroupBox1.Visible =
TrueGroupBox2.Visible =
FalseGroupBox3.Visible =
FalseGroupBox4.Visible =
FalseGroupBox5.Visible =
FalseButton7.Visible =
True End SubNot Working:
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.ClickGroupBox1.Visible =
FalseGroupBox2.Visible =
TrueGroupBox3.Visible =
FalseGroupBox4.Visible =
FalseGroupBox5.Visible =
FalseButton7.Visible =
True End SubThanks

Problems with changing groups.
cagii
hi,
during developing you many delete or rename things in your project and that could cause problems in your designer code if you forgot something during developing .
select your not working button , go to your properties tab and you will find at top icon like flash click it, it will open all the events tab for your button the see the click event and rebind it to this method again and test your project again
best regards