Window Events

        

Window events occur when you open, resize, or close a form or report.

Event Event property It occurs
Close OnClose (forms, reports) When a form or report is closed and is removed from the screen.
Load OnLoad (forms) When a form is opened and its records are displayed. This event occurs before the Current event, but after the Open event.
Open OnOpen (forms, reports) When a form is opened but before the first record is displayed.

When a report is opened but before it prints.

Resize OnResize (forms) When the size of a form changes. This event also occurs when a form is first displayed.
Unload OnUnload (forms) When a form is closed and its records are unloaded, but before it's removed from the screen. This event occurs before the Close event.