Display and manipulate data by using custom
controls. Controls include ListView, ImageList ,
ToolBar, and StatusBar.
Create an application that adds and deletes
controls at runtime.
Use the Controls Collection to manipulate
controls at runtime.
Use the Forms Collection to manipulate
forms at runtime.
The objectives for this chapter
broaden the focus of the objective of the previous
chapter by adding more elements of user interface
programming:
The first objective (Add an ActiveX
control to the ToolBox) and the first subobjective
(Display and manipulate data by using custom
controls) of the second objective (Create data
input forms and dialog boxes) focus on several
controls that are not found in the standard
VB toolbox. You must know how to add such custom
controls to the VB toolbox so that you can program
with them, and then, of course, you must know
something about each control's object
model and design- and runtime behaviors. We
discuss each of the controls listed in the second
objective in this chapter.
The remaining subobjectives deal with broader issues of programmatic
manipulation of VB objects in the visual interface. These objectives apply to
any type of control in any VB application.