Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
iOSApp.SetDidBecomeActiveEvaluate
Sets the expression to be evaluated when app becomes active.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| iOSApp | 8.2 | No | No | No | No | Yes |
MBS( "iOSApp.SetDidBecomeActiveEvaluate"; Expression ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| Expression | The expression to evaluate. |
Result
Returns OK or error.
Description
Sets the expression to be evaluated when app becomes active.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.
Version 10.2 and newer stores this in preferences, so it is restored if app when app starts again after being killed in background.
See also
- iOSApp.GetDidBecomeActiveEvaluate
- iOSApp.GetWillResignActiveEvaluate
- iOSApp.SetDidBecomeActiveScript
- iOSApp.SetWillResignActiveEvaluate
Blog Entries
Release notes
- Version 8.2
- Added iOSApp.GetDidBecomeActiveEvaluate, iOSApp.GetWillResignActiveEvaluate, iOSApp.SetDidBecomeActiveEvaluate, iOSApp.SetDidBecomeActiveScript, iOSApp.SetWillResignActiveEvaluate and iOSApp.SetWillResignActiveScript for iOS to run script when screen goes to sleep.
Created 15th May 2018, last changed 16th March 2020
iOSApp.ReadReceipt - iOSApp.SetDidBecomeActiveScript
Feedback: Report problem or ask question.
Links
MBS Xojo Chart Plugins