Application.SupportsDarkMode
From Xojo Documentation
This item was deprecated in version 2019r2. Please use Application.AllowDarkMode as a replacement. |
Design Property (as Boolean)
You can only set this property in the Inspector for the App object. Set to ON to make the app run in dark mode when dark mode is set in the OS settings. This is set to False by default.
Notes
Dark mode is only relevant on macOS Mojave or later.