hi
i have problem with my VB.net program
I have a form and 3 GroupBox in the same form.
i want go next 2
GroupBoxes afther Clicking the Next Button..
Can you Help me ?
plz..

GroupBoxes1 to next GroupBoxes2 next GroupBoxes3

Hi,

Try this :

GroupBox2.Visible = True
GroupBox1.Visible = False
TextBox1.Focus()

Regards
Veena

but how can i go to the GroupBox3 again
clicking the next button

Hi,

Are you using same "Next" button to goto Next GroupBox...?

Regards
Veena

i can u help me? plz

if i were u i will use a if statement

for example during the load event only one groupbox is open let say
groupbox1 visible is true and the others (GroupBox2 and Groupbox3) are hide.

in the button put this code

if Groupbox1.visible = "True" then
    Groupbox1.visible = "False"
    Groupbox2.visible = "True"

elseif Groupbox2.visible = "true" then
    Groupbox2.visible = "False"
    Groupbox3.visible = "True"

elseif Groupbox3.visible = "true" then
    Groupbox3.visible = "False"
    Groupbox1.visible = "True"

end if
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.