Académique Documents
Professionnel Documents
Culture Documents
TOOL BOX
Naming
S. No. Control Important properties Functionality
Convention
Provides an
Visible, borderstyle,
4. Frame Fra identifiable grouping
appearance
for controls.
Displays an X when
Alignment, enabled, selected; the X
6. Checkbox Chk
value disappears when the
Checkbox is cleared.
Combines the
Appearance, features of a TextBox
8. ComboBox Cbo
borderstyle, visible. control and a ListBox
control.
Provides a horizontal
Min, max, Value,
scroll bar for easy
10. HScrollbar hsb LargeChange,
navigation through
smallChange
long lists of items.
Enables a user to
13. DriveListBox drv drive select a valid disk
drive at run time.
Displays directories
14. DirListBox dir path
and paths at run time.
A graphical control
Appearance,
18. Image img borderstyle, picture, Displays a graphic.
stretch LoadPicture()
Name, Caption (or text in case of textbox), font, are common properties of all controls which
are related to the controls basic properties.
Control Categories :
There are three broad categories of controls in Visual Basic:
Intrinsic controls, such as the command button and frame controls. These controls are
contained inside the Visual Basic .exe file. Intrinsic controls are always included in
the toolbox, unlike ActiveX controls and insertable objects, which can be removed
from or added to the toolbox.
ActiveX controls, which exist as separate files with a .ocx file name extension. These
include controls that are available in all editions of Visual Basic (DataCombo, DataList
controls, and so on) and those that are available only in the Professional and
Enterprise editions (such as Listview, Toolbar, Animation, and Tabbed Dialog). Many
third-party ActiveX controls are also available.
Insertable Objects, such as a Microsoft Excel Worksheet object containing a list of all
your company's employees, or a Microsoft Project Calendar object containing the
scheduling information for a project. Since these can be added to the toolbox, they can
be considered controls.