Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chapter 5 - Menus, Sub Procedures, and Sub Functions  Menus - controls - properties and events –menu editor - create and change –defining menus - menu.

Similar presentations


Presentation on theme: "Chapter 5 - Menus, Sub Procedures, and Sub Functions  Menus - controls - properties and events –menu editor - create and change –defining menus - menu."— Presentation transcript:

1 Chapter 5 - Menus, Sub Procedures, and Sub Functions  Menus - controls - properties and events –menu editor - create and change –defining menus - menu commands, submenus, keyboard access keys  caption and name required  mnu - levels of menu  separator bars  coding - click event  toggling check marks  standards

2  Common dialog boxes - windows environment - predefined –using  writing general procedures - sub procedures or functions - reusable –subprocedure - performs function –function - returns a value –large sections of code broken down into smaller sections –Tools/add - not an event - called

3 –passing variables - keep scope as narrow as possible  byval and byref –Functions  predefined  user-defined - arguments  multiple arguments  Executable files

4 Assignment #10  – p.e. 5.3, pg. 209 - (due 11/3).

5 –input - sales person name and weekly sales –calculate commission - function - pg. 189 –display pay - commission and total pay - if no commission - do not display 0 commission –about moved over, access keys –summary - total sales commission, pay - format number, 2 - no $ - in message box –module and local variables, constants in function –skip font menu –color - must make show - generate common dialog control, name - affect forecolor –design, code, form, form as text, output with summary-printscreen –message box string - joining several together - pg. 140 –clear - reset focus –Sandy - $400, Sam - $250, Joe - $550

6 Assignment #11  - pg. 247 1-7 (due 11/3).


Download ppt "Chapter 5 - Menus, Sub Procedures, and Sub Functions  Menus - controls - properties and events –menu editor - create and change –defining menus - menu."

Similar presentations


Ads by Google