Hello
Currently im programming with VB.NET using Microsoft Visual Studio 2003.
I'm trying to design and develop a small questionnaire of say, 10 questions, and then I want to also expand this into a huge module, with multiple choice questions.
I took an idea from this forum before and that was to just have seperate panel controls, which I could 'hide' and 'unhide' when it comes to whatever question...
So they way it would work is say you have the first panel which I give the name 'p1' and the second panel 'p2, and so on, so then I'd code a button control to say:
Me.p1.Hide
Me.p2.Show
End Sub (etc)
And it works fine, but for some reason on the seventh panel - it just goes a bit loony and skips a question, I've double, triple, and qudrauple checked the coding to see if I'm showing or hiding the wrong panels and it all seems fine, but for some reason the app decides to skip panels or just go completely haywire after displaying the seventh panel... If I take away this panel and the coding for it it works fine - I don't know why this is happening! Please help me its SERIOUSLY important and really will affect my future (its a very simply problem but trust me it will!)
Thank you
Currently im programming with VB.NET using Microsoft Visual Studio 2003.
I'm trying to design and develop a small questionnaire of say, 10 questions, and then I want to also expand this into a huge module, with multiple choice questions.
I took an idea from this forum before and that was to just have seperate panel controls, which I could 'hide' and 'unhide' when it comes to whatever question...
So they way it would work is say you have the first panel which I give the name 'p1' and the second panel 'p2, and so on, so then I'd code a button control to say:
Me.p1.Hide
Me.p2.Show
End Sub (etc)
And it works fine, but for some reason on the seventh panel - it just goes a bit loony and skips a question, I've double, triple, and qudrauple checked the coding to see if I'm showing or hiding the wrong panels and it all seems fine, but for some reason the app decides to skip panels or just go completely haywire after displaying the seventh panel... If I take away this panel and the coding for it it works fine - I don't know why this is happening! Please help me its SERIOUSLY important and really will affect my future (its a very simply problem but trust me it will!)
Thank you
Comment