Control Properties: Visual Controls
Control Properties: Visual Controls
When designing your interface, try to be consistent and predictable in your choice of
interface elements. Whether they are aware of it or not, users have become familiar with
elements acting in a certain way, so choosing to adopt those elements when
appropriate will help with task completion, efficiency, and satisfaction.
Input Controls: checkboxes, radio buttons, dropdown lists, list boxes, buttons, toggles,
text fields, date field
Navigational Components: breadcrumb, slider, search field, pagination, slider, tags,
icons
Informational Components: tooltips, icons, progress bar, notifications, message boxes,
modal windows
Control Properties
All the Visual Basic Objects can be moved, resized or customized by setting their
properties. A property is a value or characteristic held by a Visual Basic object,
such as Caption or Fore Color.
Properties can be set at design time by using the Properties window or at run
time by using statements in the program code.
The following table lists some of the commonly used controls −
1 Forms
The container for all the controls that make up the user interface.
2 TextBox
It represents a Windows text box control.
3 Label
It represents a standard Windows label.
4 Button
It represents a Windows button control.
Visual controls
5 ListBox
It represents a Windows control to display a list of items.
6 ComboBox
It represents a Windows combo box control.
7 RadioButton
It enables the user to select a single option from a group of choices when paired with
other RadioButton controls.
8 CheckBox
It represents a Windows CheckBox.
9 PictureBox
It represents a Windows picture box control for displaying an image.
10 ProgressBar
It represents a Windows progress bar control.
11 ScrollBar
It Implements the basic functionality of a scroll bar control.
12 DateTimePicker
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.
13 TreeView
It displays a hierarchical collection of labeled items, each represented by a TreeNode.
14 ListView
It represents a Windows list view control, which displays a collection of items that can be
Visual controls
Checkboxes Checkboxes allow the user to select one or more options from a set.
It is usually best to present checkboxes in a vertical list. More than
one column is acceptable as well if the list is long enough that it
might require scrolling or if comparison of terms might be necessary.
Radio buttons Radio buttons are used to allow users to select one item at a time.
Dropdown Dropdown lists allow users to select one item at a time, similarly to
lists radio buttons, but are more compact allowing you to save space.
Consider adding text to the field, such as ‘Select one’ to help the
user recognize the necessary action.
List List boxes, like checkboxes, allow users to select a multiple items at a
boxes time,but are more compact and can support a longer list of options if
needed.