1,105,578 Community Members

Groupbox and Next Button

Member Avatar
dinesh012
Light Poster
28 posts since Mar 2013
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
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

Member Avatar
QVeen72
Veteran Poster
1,016 posts since Nov 2006
Reputation Points: 104 [?]
Q&As Helped to Solve: 164 [?]
Skill Endorsements: 7 [?]
 
0
 

Hi,

Try this :

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

Regards
Veena

Member Avatar
dinesh012
Light Poster
28 posts since Mar 2013
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

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

Member Avatar
QVeen72
Veteran Poster
1,016 posts since Nov 2006
Reputation Points: 104 [?]
Q&As Helped to Solve: 164 [?]
Skill Endorsements: 7 [?]
 
0
 

Hi,

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

Regards
Veena

Member Avatar
dinesh012
Light Poster
28 posts since Mar 2013
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

yes..

Member Avatar
dinesh012
Light Poster
28 posts since Mar 2013
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

i can u help me? plz

Member Avatar
ImZick
Posting Whiz in Training
201 posts since Dec 2012
Reputation Points: 0 [?]
Q&As Helped to Solve: 4 [?]
Skill Endorsements: 4 [?]
 
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 three months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article