PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | French EN
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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 by programming with ChangeTheme.
Versions 25 and later
Android This function is now available for Android applications.
Android Widget This function is now available in Android Widget mode.
iPhone/iPad This function is now available for iPhone/iPad applications.
Windows Mobile This function is now available for Windows Mobile applications.
New in version 25
Android This function is now available for Android applications.
Android Widget This function is now available in Android Widget mode.
iPhone/iPad This function is now available for iPhone/iPad applications.
Windows Mobile This function is now available for Windows Mobile applications.
Android This function is now available for Android applications.
Android Widget This function is now available in Android Widget mode.
iPhone/iPad This function is now available for iPhone/iPad applications.
Windows Mobile This function is now available for Windows Mobile applications.
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:
stThemeLightThe light theme of the device is used.
stThemeUnknownThe theme used is unknown.
stThemeDarkThe dark theme of the device is used.
Component : wp250dotnet.dll
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment