Activity_GetExitMode()

Examples


The Activity_GetExitMode() function ascertains the mode used to exit the runtime engine. You exit the runtime engine by exiting the application, or by accessing the Modifier or Report Writer.

Syntax

Activity_GetExitMode()

Parameters

• None

Return value

mode – An integer representing one of the following exit modes:

[spacer]

Value

Description

0

The runtime engine closed.

1

The Report Writer was accessed.

2

The Modifier was accessed.


Comments

Add this function to a form post script for the application’s Main Menu form. This ensures that you can determine the exit mode, regardless of where the user chooses to exit the runtime session.


Documentation Feedback