ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Mouse functions
  • Operating mode in Android
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
HourglassNetwork (Function)
In french: SablierRéseau
Displays or hides an endless progress bar:
  • in the status bar of an iOS application.
  • in the title bar of windows found in an Android application.
New in version 2024
Starting with version 2024, this function is no longer available in iOS.
Example
// Display the progress bar
HourglassNetwork(True)
// Process
...
Multitask(-1)
...
// Hide the progress bar
HourglassNetwork(False)
Syntax
HourglassNetwork(<Activation>)
<Activation>: Boolean
  • True to enable the endless progress bar,
  • True to hide the endless progress bar.
Remarks

Operating mode in Android

If HourglassNetwork is called with the activation parameter set to True, the infinite progress bar will be displayed in the title bar (or ActionBar) of all open windows of the application as well as all the windows opened afterwards, until HourglassNetwork is called again with the activation parameter set to False.
Remarks:
  • When running long processes, we advise you to add calls to Multitask in the code in order to give time to the progress bar to refresh its display.
  • You can also use HourGlass. In this case, the endless progress bar is displayed in a specific window.
  • The display of progress bars in the ActionBar using the Material Design them is not supported by the system. HourglassNetwork will have no effect if the window contains an ActionBar control and if the "Apply Material design theme to native controls and to Info/Error/Dialog windows" option has been checked in the Android configuration options.
Related Examples:
WM System Cross-platform examples (WINDEV Mobile): WM System
[ + ] This application is an example of some of the features of WINDEV Mobile available for Android/iOS.
The following system functions are used:
- NFC
- Multimedia control
- Brightness
- Volume
- Wi-Fi
- Bluetooth
- Toast
- Compass
- Accelerometer
- Camera control
- LED
- Vibration
- Notifications
- Drawing functions
- Internet
Business / UI classification: UI Code
Component: wd290android.aar
Minimum version required
  • Version 19
Comments
Click [Add] to post a comment

Last update: 01/15/2024

Send a report | Local help