Section Object Events

There are nine events you can use in your code for the Section object. They're described in the following table.

Event

Occurs When

Click

The user presses and releases the mouse button.

DblClick

The user presses and releases the mouse button twice in rapid succession.

Format

A section is formatted. Does not fire in report view.

MouseDown

The user presses the mouse button.

MouseMove

The user moves the mouse.

MouseUp

The user releases the mouse button.

Event

Occurs When

Paint

A section is redrawn on the screen. Does not fire in Print Preview.

Print

A section is printed. Does not fire in report view.

Retreat Access must move back to a section that has already been formatted. Allows you to undo a change to a control that was made in the Format event for the section.

0 0

Post a comment