TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Mohammad Ishaq
NA
55
19k
PLEASE LET ME HELP TO CODE FOR GROUPBOX IN VB.
Nov 25 2014 7:30 AM
Hello to Everyone
i am working on a project .I have a vb form having three Groupboxes and three buttons to control each box. I want that when i click on button one,it shows the Groupbox1 and when i click on button 2 it shows groupbox2 and so on.The code for this purpose i m using is given below.But it shows only first Groupbox.Please Help me by any experience person to correct this code or any other best option.
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
GroupBox1.Visible = (GroupBox2.Visible = False)
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
GroupBox1.Visible = (GroupBox2.Visible = True)
End Sub
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
GroupBox1.Visible = (GroupBox3.Visible = True)
End Sub
End Class
Reply
Answers (
1
)
how to print a document in c# windows application with same
Delete node in treeview with the same attribute value