Lecture 8-2

advertisement
Programming Languages
Visual Basic Controls
This lesson describes the VB Controls:
VB has two types of Controls: Intrinsic Controls
and Active Controls.
These controls represent all the Graphics User
Interfaces, as well as Operating Systems
resources, available to programmers.
Intrinsic Controls
• There are 20 controls which are built in to VB.
• These controls are called intrinsic controls.
• Every one of the intrinsic controls are available to
every VB program you write.
• When you create a "New" VB project, all 20 of the
intrinsic controls will show up in the Toolbox.
Intrinsic Control List
• The following list shows the 20 intrinsic controls
Intrinsic Control List (2)
• The following list shows the 20 intrinsic controls
• Command Button
CheckBox
TextBox
Label
Option Button
• ADO Data Control
DirListBox
DriveListBox
FileListBox
Horizontal Scroll
ImageBox
PictureBox
ListBox
ComboListBox
Frame
Vertical Scroll
Line
Shape
OLEContainer Timer
Sample
ActiveX
Control
List
Sample ActiveX Control List(2)
• The following list shows the 20 intrinsic controls
• Toolbar
Tabbed Dialog
Tab Strip
Multimedia control
• Data Repeater
MAPI
Animation
DateTimePicker
FlatScrollBar
ImageCombo
Progress Bar
Internet Transfer Control
ListView control
ImageList
SysInfo
Winsock
MonthView
PictureClip
Slider
Color Common Dialog Window
• The whole point of
a visual language
is to make certain
parts of
programming
• (usually the user
interface) much
easier on the
programmer.
Open Common Dialog Window
• This is the user interface created by Common
Dialog Control for file-open.
Font Common Dialog Window
• This is the
user
interface
created by
Common
Dialog
Control for
Font
selection.
Download