Microsoft Access 2010 Bible

(Rick Simeone) #1

xxvii


Contents


Creating simple product properties .........................................................................975
Creating methods ....................................................................................................976
Using the product object .........................................................................................978
Creating bulletproof property procedures ...............................................................980
Recognizing the Benefits of Object-Oriented Programming ...............................................981
Encapsulating functionality .....................................................................................982
Simplifying programming tasks ...............................................................................982
Managing a class’s interface .....................................................................................983
Using Property Procedures ................................................................................................986
Looking at the types of property procedures ...........................................................986
Exploring property-value persistence ......................................................................989
Heeding property procedure rules ...........................................................................990
Modifying the Product Class .............................................................................................991
Retrieving product details........................................................................................992
Looking at the new ProductID property ..................................................................993
Adding a new property to provide extra information ...............................................994
Adding a new method to the product class ..............................................................995
Learning about Class Events ..............................................................................................997
The Class_Initialize event procedure .......................................................................997
The Class_Terminate event procedure .....................................................................998
Adding Events to Class Modules .......................................................................................999
Learning about events in Access ............................................................................1000
Recognizing the need for events ............................................................................1000
Creating custom events .........................................................................................1001
Raising events........................................................................................................1002
Trapping custom events ........................................................................................1003
Passing data through events ..................................................................................1004
Exploiting Access class module events ...................................................................1005
Summary ........................................................................................................................1008

Chapter 29: Customizing Access Ribbons  . . . . . . . . . . . . . . . . . . . . . . 1009
Why Replace Toolbars and Menus? .................................................................................1009
New controls for Access ribbons ...........................................................................1013
SplitButton ............................................................................................................1013
DropDown ............................................................................................................1014
Gallery ..................................................................................................................1014
SuperTips ..............................................................................................................1015
Working with the Access Ribbon ....................................................................................1015
Tabs ......................................................................................................................1016
Groups ..................................................................................................................1016
Controls ................................................................................................................1017
Managing the ribbon .............................................................................................1017
Working with the Quick Access Toolbar .........................................................................1018
Editing the Default Access Ribbon ..................................................................................1020

02_475348-ftoc.indd xxvii02_475348-ftoc.indd xxvii 4/1/10 1:42 PM4/1/10 1:42 PM

Free download pdf