Dashboard Section, EventScript object
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.
Expression. OnDeactivate()
An expression that returns an object for any of the following:
This example displays the OnDeActivate method for an active Dashboard section:
ActiveDocument.Sections["Dashboard"].OnDeactivate()