Example 3.4: Handling Page Events Handling Page Events