OnDeactivate (Method)

Applies To:

Dashboard Section, EventScript object

Description:

A Dashboard section level event is available regardless of the application state, and is accessible through scripting. The OnDeactivate() method executs a script stored under the OnDeactivate event trigger. The method takes no arguments. Any scripts associated with the OnDeactivate method are executed when you exit a Dashboard section.

Syntax:

Expression. OnDeactivate()

Expression Required:

An expression that returns an object for any of the following:

Example:

This example displays the OnDeActivate method for an active Dashboard section:

ActiveDocument.Sections["Dashboard"].OnDeactivate()