PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
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
SysStandby (Function)
In french: SysMiseEnVeille
Used to:
  • AndroidiPhone/iPad enable and disable the standby mode.
    AndroidiPhone/iPad Remark: The configuration of the standby mode is specific to the application:
    • when the application is ended, the initial setting is restored.
    • when the application is moved to the background, the initial settings are restored. When the application returns to the foreground, the standby settings are restored.
  • Universal Windows 10 App display the system screen used to configure the standby mode.
Versions 18 and later
Android This function is now available for Android applications.
New in version 18
Android This function is now available for Android applications.
Android This function is now available for Android applications.
Versions 20 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 20
iPhone/iPad This function is now available for iPhone/iPad applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Versions 22 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 22
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
Versions 18 and later
AndroidiPhone/iPad
// Active la mise en veille
SysStandby(sysBattery, sysStandbyActive)
New in version 18
AndroidiPhone/iPad
// Active la mise en veille
SysStandby(sysBattery, sysStandbyActive)
AndroidiPhone/iPad
// Active la mise en veille
SysStandby(sysBattery, sysStandbyActive)
Syntax
Versions 18 and later
AndroidiPhone/iPad

Enabling/Disabling the standby mode Hide the details

SysStandby(<Power mode> , <Standby>)
<Power mode>: Integer constant
Power mode for which the management of the standby mode must be modified:
sysBatteryManage the standby mode when the device is powered by the battery.
sysMainsPowerManage the standby mode when the device is plugged in.
iPhone/iPad This parameter is ignored. The standby mode is applied both when the device is on running on batteries or plugged in.
<Standby>: Integer constant
Enable or disable the standby mode:
sysStandbyActiveEnable the standby mode. The amount of idle time before switching to standby mode depends on the system settings.
sysStandbyInactiveDisable the standby mode when the application moves to the foreground.
New in version 18
AndroidiPhone/iPad

Enabling/Disabling the standby mode Hide the details

SysStandby(<Power mode> , <Standby>)
<Power mode>: Integer constant
Power mode for which the management of the standby mode must be modified:
sysBatteryManage the standby mode when the device is powered by the battery.
sysMainsPowerManage the standby mode when the device is plugged in.
iPhone/iPad This parameter is ignored. The standby mode is applied both when the device is on running on batteries or plugged in.
<Standby>: Integer constant
Enable or disable the standby mode:
sysStandbyActiveEnable the standby mode. The amount of idle time before switching to standby mode depends on the system settings.
sysStandbyInactiveDisable the standby mode when the application moves to the foreground.
AndroidiPhone/iPad

Enabling/Disabling the standby mode Hide the details

SysStandby(<Power mode> , <Standby>)
<Power mode>: Integer constant
Power mode for which the management of the standby mode must be modified:
sysBatteryManage the standby mode when the device is powered by the battery.
sysMainsPowerManage the standby mode when the device is plugged in.
iPhone/iPad This parameter is ignored. The standby mode is applied both when the device is on running on batteries or plugged in.
<Standby>: Integer constant
Enable or disable the standby mode:
sysStandbyActiveEnable the standby mode. The amount of idle time before switching to standby mode depends on the system settings.
sysStandbyInactiveDisable the standby mode when the application moves to the foreground.
Versions 20 and later
iPhone/iPad

Finding out the standby mode Hide the details

<Result> = SysStandby(<Power mode>)
<Result>: Boolean
  • True if the standby mode is enabled,
  • False otherwise.
<Power mode>: Integer constant
Power mode for which the management of the standby mode must be known:
sysBatteryManage the standby mode when the device is powered by the battery.
sysMainsPowerManage the standby mode when the device is plugged in.
This parameter is ignored. The standby mode is applied both when the device is on running on batteries or plugged in.
New in version 20
iPhone/iPad

Finding out the standby mode Hide the details

<Result> = SysStandby(<Power mode>)
<Result>: Boolean
  • True if the standby mode is enabled,
  • False otherwise.
<Power mode>: Integer constant
Power mode for which the management of the standby mode must be known:
sysBatteryManage the standby mode when the device is powered by the battery.
sysMainsPowerManage the standby mode when the device is plugged in.
This parameter is ignored. The standby mode is applied both when the device is on running on batteries or plugged in.
iPhone/iPad

Finding out the standby mode Hide the details

<Result> = SysStandby(<Power mode>)
<Result>: Boolean
  • True if the standby mode is enabled,
  • False otherwise.
<Power mode>: Integer constant
Power mode for which the management of the standby mode must be known:
sysBatteryManage the standby mode when the device is powered by the battery.
sysMainsPowerManage the standby mode when the device is plugged in.
This parameter is ignored. The standby mode is applied both when the device is on running on batteries or plugged in.
Versions 22 and later
Universal Windows 10 App

Displaying the system screen used to configure the standby mode Hide the details

<Result> = SysStandby()
<Result>: Boolean
  • True if the screen for configuring the standby mode is displayed,
  • False otherwise.
New in version 22
Universal Windows 10 App

Displaying the system screen used to configure the standby mode Hide the details

<Result> = SysStandby()
<Result>: Boolean
  • True if the screen for configuring the standby mode is displayed,
  • False otherwise.
Universal Windows 10 App

Displaying the system screen used to configure the standby mode Hide the details

<Result> = SysStandby()
<Result>: Boolean
  • True if the screen for configuring the standby mode is displayed,
  • False otherwise.
Component: wd270std.dll
See also
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment