Table of Contents
hide
Group Box Codes
Example : How to Color the Group Box Background.
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
GroupBox1.BackColor = Color.Red
End Sub
Example : How to Hide the Group Box.
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
GroupBox1.Visible = False
End Sub
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
GroupBox1.Visible = True
End Sub
Panel Codes
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Panel1.Show()
'Panel1.Visible = True
End Sub
Example : How to Hide the Panel.
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Panel1.Hide()
'Panel1.Visible = False
End Sub
Example : How to Color the Background of the Panel.
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Panel1.BackColor = Color.Red
End Sub
Example : How to Set Border Line in the Panel Control.
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Panel1.BorderStyle = BorderStyle.FixedSingle
End Sub
0 Comments