themeState
Indicates whether themes are in use for the application.
Property of
_app object
Description
_app.themeState() returns one of the following values:
0 - themes are not available (old OS, or no manifest file, or themes were disabled at the application initialization in another manner).
1 - themes are enabled, but with the old theme (the user has chosen the "Windows Classic" theme).
2 - themes are enabled and a newer theme is active.
Note:
With theme states 0 and 1, the controls have the old look and are backward compatible.
With state 2, some form components may have new colors or their border may have new shape and position. Therefore, with state 2 some modifications (in dBL code) may be needed.