Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   8.6    Statistic  

iOSApp.SetWillResignActiveScript

Sets the script to be run when the app is no longer active and loses focus.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
iOSApp 8.2 No No No No Yes
MBS( "iOSApp.SetWillResignActiveScript"; Filename; ScriptName { ; Parameter } )   More

Parameters

Parameter Description Example value
Filename The database file name where the script is located. "test.fmp12"
ScriptName The script name. "MyScript"
Parameter Optional
The script parameter.

Result

Returns OK or error.

Description

Sets the script to be run when the app is no longer active and loses focus.
An app is active when it is receiving events. An active app can be said to have focus. It gains focus after being launched, loses focus when an overlay window pops up or when the device is locked, and gains focus when the device is unlocked.

See also

Blog Entries

Created 15th May 2018, last changed 15th May 2018


iOSApp.SetWillResignActiveEvaluate   -   iOSDevice.BatteryLevel

Feedback: Report problem or ask question.




Links
MBS Xojo tutorial videos