I have one form with four group boxes on, each group box has its own set of controls. The group boxes are layered over each other and by default when the form is displayed the first group box is visable and the rest are hidden...
When the user clicks on a "next" button the first group box is visible = false and the second group box is visable= true....
My issue is that when the group boxes are overlapped and I click on "next" to display the seond group box it never gets displayed I am not sure why....
Private Sub btn_next_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_next.Click
Me.btn_start.Enabled = False
If (Me.grp_screen1_startdate.Visible = True) Then
Me.grp_screen1_startdate.Visible = False
Me.btn_back.Enabled = True
ElseIf (Me.grp_screen2_funds.Visible = True) Then
Me.grp_screen2_funds.Visible = False
Me.grp_screen3_curr.Visible = True
ElseIf (Me.grp_screen3_curr.Visible = True) Then
Me.grp_screen3_curr.Visible = False
Me.btn_next.Enabled = False
Me.grp_screen4_process.Visible = True
Me.btn_start.Enabled = True