PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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.
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.
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.
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.
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: wd270android.aar
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment