ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / System functions
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
Returns the current theme used on the mobile device.
Remark: This theme is the one used automatically by the mobile device (defined in the device settings). It does not correspond to the theme defined through programming with ChangeTheme.
Example
// Display a light image if the dark theme is displayed
IF SysTheme() = stThemeDark THEN
IMG_Image = "light_image.jpg"
END
Syntax
<Result> = SysTheme()
<Result>: Integer constant
Visual theme displayed on the device:
stThemeDarkThe dark theme of the device is used.
stThemeLightThe light theme of the device is used.
stThemeUnknownThe theme used is unknown.
Component: wd290android.aar
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help