Upload
jeremy-wilkerson
View
215
Download
0
Embed Size (px)
Citation preview
CS130 Visual Basic
Project 4 LectureFall 2001
New topics in project 4• Database, file (table), records, fields.• Application that contains menus, submenus, pop-up menus; access
keys, shortcuts, separator bars, check marks to menus.• Data controls: link to database; bind label controls to fields in the table
of a database.• Control arrays.• Write code to select records in a database.• The repetition structure: For …Next loop.• With statement• General procedure• Not operator• Procedures for MouseUp event
Control array
• a group of controls of the same type, e.g., label control, that share a common control name and a common set of event procedures. by clicking any label in the array triggers the same Click event procedure.
• Each control in the array has a unique index number assigned by VB. The value begins with 0 for the first control and increases by one for each new control. All controls have the same Name property; all other properties may be individually set.