PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
SysTheme (Function)
In French: SysThème
Returns the visual theme currently displayed on the device running Windows Phone. Returns the visual theme currently displayed on the device running Universal Windows 10 App.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
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
// 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.
See also
Minimum required version
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment