OnActivate (Method)

Applies To:

Dashboard Section object, EventScript object

Description:

Interactive Reportingsection level function available regardless of the application state, and that you can access through scripting. The OnActivate() method executes a script stored under the OnActivate event trigger. The method takes no arguments. Any scripts associated with the OnActivate method are executed when you enter a Dashboard section.

Syntax:

Expression. OnActivate()

Expression Required:

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

Example:

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

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