standard.isForeground
Indicates if the app is in foreground mode.
Syntax
ui.Interface.frontCall("standard", "isForeground",
[], [result] )
- result - Is set to
TRUE
, if the app is in foreground mode, orFALSE
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.