Equinox Online Help - Language Reference - A to Z

Home

ApplicationState

Applies to
SyntaxApplicationState
Action[Function] Returns the current application lock state value.
ScopeUsable anywhere.
Notes

This function returns the current lock state of the application, one of the following values:

  • 0 Application unlocked
  • 1 Application locked (open in exclusive mode)
CategoryLocking
See Also IsLocked, IsLockedByMe, Lock, LockApplication, LockRelated, LockRetry, RetryInterval1, RetryInterval2, Unlock, UnlockApplication
Example

The following example checks to see if the application is opened in exclusive mode.

If ApplicationState = 1 Then Print "Locked application"