Chapter Summary

In this chapter, you were introduced to advanced concepts in event-driven programming. You learned how you can make your code more manageable and portable to other objects by responding to events in class modules other than form modules. This chapter has also shown you the process of creating your own events for a class and raising them from a public method by calling the RaiseEvent statement with the arguments defined for the event. The important thing to understand is that while events happen all the time whether you respond to them or not, you are the one to decide where to respond to the built-in events. And, if you ever find yourself short of an event, with the knowledge acquired in this chapter, you can always create one that does exactly what you need. Now that you know the power tools, it's up to you to use them.

The next chapter begins Part V of this book, which is devoted to working with Access from web pages.


0 0

Post a comment