1.11M Members

Groupbox and Next Button

 
0
 

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

 
0
 

Hi,

Try this :

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

Regards
Veena

 
0
 

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

 
0
 

Hi,

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

Regards
Veena

 
0
 

yes..

 
0
 

i can u help me? plz

 
0
 

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
You
This article has been dead for over six months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article