Murach's Visual Basic 2008
How to code procedures and event handlers

This chapter shows you how to code and call procedures and how to generate event handlers for all types of events. With those skills, you'll be able to logically divide your code into smaller procedures so it is easier to read, test, and debug.

Chapter 6 How to code procedures and event handlers
How to code and call procedures 168
How to code Sub procedures 168
How to call Sub procedures 170
When and how to pass arguments by reference and by value 172
How to code and call Function procedures 174
How to work with events 176
How to start an event handler for any event 176
How to handle multiple events with one event handler 178
How to use the Code Editor to start an event handler 180
How to add and remove event wiring 182
Another version of the Future Value application 184
The Function procedure 184
The event handlers 184




Murach's VB 2008

Learn more about this book

View the table of contents

Add this book to your cart



Our Ironclad Guarantee

First, try our books for 90 days. Then, if you aren't completely convinced that our books are the best ones you've ever used, you can return them for a full refund...no questions asked.