Change Document Mode Action

Event Function: Change Document Mode

The Change Document Mode action changes the CaseView mode for the current document.

Using the Events tab

Under Enter Result

Run Skip Condition

If desired, enter skip conditions for the event. When the "Run Skip Condition" is evaluated to be true, the action is not performed.

Document Mode

"0" Form

Switches CaseView to Form Mode

"1" Form Mode with editing

Switches CaseView to Form Mode with Enable Editing

"2" Design Mode

Switches CaseView to Design Mode

Syntax

ACTION("ChangeDocumentMode",expr1)

Where

expr1 = mode

How the example will appear in the Equation bar

ACTION("ChangeDocumentMode","1")

Changes CaseView to Form Mode when triggered.

Notes

  • Triggering this event causes an auto recalculation if the calculation is used.

Related Topics