standard.isForeground

Indicates if the app is in foreground mode.

Syntax

ui.Interface.frontCall("standard", "isForeground",
   [],  [result] )
  1. result - Is set to TRUE, if the app is in foreground mode, or FALSE if in background mode.

Usage

The "isForeground" front call checks if the app is currently in foreground or background mode.

DEFINE fg BOOLEAN
CALL ui.Interface.frontCall("standard", "isForeground", []. [fg] )

Use the isForeground front call in conjunction with the enterforeground and enterbackground predefined actions.