WebApplication.LaunchMessageDelay
From Xojo Documentation
or
IntegerValue = aWebApplication.LaunchMessageDelay
New in 2011r3
Supported for all project types and targets.
Web Applications have a loading screen that can be displayed after the user has launched the app but before the app is ready to run. A progress bar, the application icon, and a launch message can appear. LaunchMessageDelay indicates the launch screen will appear after the specified milliseconds have elapsed (default is 2000). To suppress the launch message, set LaunchMessageDelay to -1.
Notes
If a user connects to the app and the app has not finished launching in less than the value of LaunchMessageDelay, the launch screen will appear and stay on screen until the app finishes launching.
- If you want to suppress the launch screen entirely, then set LaunchMessageDelay to -1.
- If you want to wait longer before displaying the launch message, increase the value of LaunchMessageDelay.
- If you want the launch screen to appear immediately, then set the value of LaunchMessageDelay to zero.
User interface guidelines typically suggest that you provide feedback if a process is going to take more than two seconds.
To modify LaunchMessageDelay, set its value in the Open event handler of the web app.
Sample Code
Force the launch screen to appear immediately: