Menu

VB.NET TUTORIALS - VB.Net - Basic Controls

VB.Net - Basic Controls

ADVERTISEMENTS

Basic Controls

S.N.Widget & Description
1Forms
The container for all the controls that make up the user interface.
2TextBox
It represents a Windows text box control.
3Label
It represents a standard Windows label.
4Button
It represents a Windows button control.
5ListBox
It represents a Windows control to display a list of items.
6ComboBox
It represents a Windows combo box control.
7RadioButton
It enables the user to select a single option from a group of choices when paired with other RadioButton controls.
8CheckBox
It represents a Windows CheckBox.
9PictureBox
It represents a Windows picture box control for displaying an image.
10ProgressBar
It represents a Windows progress bar control.
11ScrollBar
It Implements the basic functionality of a scroll bar control.
12DateTimePicker
It represents a Windows control that allows the user to select a date and a time and to display the date and time with a specified format.
13TreeView
It displays a hierarchical collection of labeled items, each represented by a TreeNode.
14ListView
It represents a Windows list view control, which displays a collection of items that can be displayed using one of four different views.

ADVERTISEMENTS

Control Properties

Object. Property = Value

ADVERTISEMENTS

Form1.Caption = "Hello"

Control Methods

Public Class Form1
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) 
	Handles Button1.Click
        MessageBox.Show("Hello, World")
    End Sub
End Class

Control Events

Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
 'event handler code goes here
End Sub