SET APPLICATION COLOR SCHEME
SET APPLICATION COLOR SCHEME ( colorScheme )
Parameter | Type | Description | |
---|---|---|---|
colorScheme | Text | → | "light", "dark", or "inherited" |
Description
The SET APPLICATION COLOR SCHEME command defines the color scheme to use at the application level for the current session. This scheme will be applied to forms that do not already declare a specific scheme (a color scheme defined at the form level takes priority over the application level).
Note: This command only works on macOS. On Windows, the only available scheme is "light".
In the colorScheme parameter, pass a color scheme to apply:
- "light" - the application will use the Default Light Theme
- "dark" - the application will use the Default Dark Theme
- "inherited" - the application will inherit from the higher priority level (i.e., in Settings)
Example
// Force the current application in dark
SET APPLICATION COLOR SCHEME("dark")
See also
FORM Get color scheme
Get application color scheme
Properties
Command number | 1762 |
Thread safe | ✗ |