Okay,
I've got 2 groupboxes that both have different information. I have written my own function, and get no errors so I'm not sure why is not working. Is there something with groupboxes that you can't make 1 visible and with a button click and switch it out with another based on that same button click?
So here is the function I made.
Private Sub Moveunit()
If GroupBox1.Visible = True Then
GroupBox1.Visible = False
GroupBox2.Visible = True
ElseIf GroupBox2.Visible = True Then
GroupBox2.Visible = False
GroupBox1.Visible = True
End If
End Sub
This worked with labels, so whats the deal with a groupbox ?
Note: On the button click I call the function and thats it, is there something else I don't know about that I'm suppose to do ?
!!HEY!! Delete this post, just figured it out !!! Sorry.
Thanks for help in advanced,
Daniel