toolbox
DESCRIPTION
TOOLBOX. The Toolbox. Intrinsic Controls - always included in the Toolbox ActiveX Controls - separate files with ocx file extension Insertable Objects - objects from another application such as a spreadsheet, or document. Intrinsic Controls. Pointer tool. Picture box. Label. Text box. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: TOOLBOX](https://reader035.vdocuments.us/reader035/viewer/2022072013/56812c64550346895d90f7d8/html5/thumbnails/1.jpg)
TOOLBOXTOOLBOX
![Page 2: TOOLBOX](https://reader035.vdocuments.us/reader035/viewer/2022072013/56812c64550346895d90f7d8/html5/thumbnails/2.jpg)
The ToolboxThe Toolbox
Intrinsic Controls - always included in the Toolbox
ActiveX Controls - separate files with ocx file extension
Insertable Objects - objects from another application such as a spreadsheet, or document
![Page 3: TOOLBOX](https://reader035.vdocuments.us/reader035/viewer/2022072013/56812c64550346895d90f7d8/html5/thumbnails/3.jpg)
Intrinsic ControlsIntrinsic Controls
Text box
Picture box
Command button
Vertical scroll bar
Drive list
File list box
Line
Data
Option button
Pointer tool
List box
Label
Frame
Check box
Combo box
Horizontal scroll bar Timer
Directory list box
Shape
Image
OLE container
![Page 4: TOOLBOX](https://reader035.vdocuments.us/reader035/viewer/2022072013/56812c64550346895d90f7d8/html5/thumbnails/4.jpg)
Get InputGet Input
Text box - text input
Horizontal Scroll bars - navigate choices
Vertical Scroll bars - navigate choices
Check box - more than one choice
Option buttons - mutually exclusive choices
List box - 1 choice from list
Combo box - choose or type a choice
![Page 5: TOOLBOX](https://reader035.vdocuments.us/reader035/viewer/2022072013/56812c64550346895d90f7d8/html5/thumbnails/5.jpg)
Get InputGet Input
Tabbed dialog - present many options
MsgBox function - prompt user or display message
InputBox function - present predefined dialog boxes
Common dialog - display standard dialog boxes such as Open, Save and Print
Customized dialog box - create your own
![Page 6: TOOLBOX](https://reader035.vdocuments.us/reader035/viewer/2022072013/56812c64550346895d90f7d8/html5/thumbnails/6.jpg)
Display GraphicsDisplay Graphics
Image - use to create an icon command button, decorative images
Picture box - use to create a toolbar
Line - draw a straight line segment
Shape - draw a rectangle, square, ellipse, or circle
Background Property - background image
LoadPicture function - use at runtime
![Page 7: TOOLBOX](https://reader035.vdocuments.us/reader035/viewer/2022072013/56812c64550346895d90f7d8/html5/thumbnails/7.jpg)
File System ControlsFile System Controls
Drive list box - display list of disk drives
Directory list box - display list of folders (directories) and paths
File list box - display list of files
![Page 8: TOOLBOX](https://reader035.vdocuments.us/reader035/viewer/2022072013/56812c64550346895d90f7d8/html5/thumbnails/8.jpg)
Miscellaneous ControlsMiscellaneous Controls
Frame - use to group controls together
Timer - use to trigger simple animations or like a stopwatch
OLE container - use to link or embed objects from other applications
![Page 9: TOOLBOX](https://reader035.vdocuments.us/reader035/viewer/2022072013/56812c64550346895d90f7d8/html5/thumbnails/9.jpg)
Data Access ControlsData Access Controls
Data Control– display, edit and update data from existing
databases– uses same database engine that powers
Microsoft Access
![Page 10: TOOLBOX](https://reader035.vdocuments.us/reader035/viewer/2022072013/56812c64550346895d90f7d8/html5/thumbnails/10.jpg)
Set Properties with Code Set Properties with Code
name.property = settingWhere
name is the name of the control or form
. (period) is required
property is the property to set or modify
= is required
setting is the setting of the property
Examples:imgWorld.Visible = True
txtName.Text = “Sarah”
![Page 11: TOOLBOX](https://reader035.vdocuments.us/reader035/viewer/2022072013/56812c64550346895d90f7d8/html5/thumbnails/11.jpg)
Create the Icon Explorer Project Create the Icon Explorer Project using File System Controlsusing File System Controls
Hands-On Exercise 2 (P.178-191)– Create a new project– Add the existing starter form– Add a Splash form– Add the Main module– Modify the Main form– Code the Main form– Run and debug the project– Add code to display icons– Run and debug the new code– Print your project and exit
![Page 12: TOOLBOX](https://reader035.vdocuments.us/reader035/viewer/2022072013/56812c64550346895d90f7d8/html5/thumbnails/12.jpg)
End of LectureEnd of Lecture