This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20.6
SET APPLICATION COLOR SCHEME
|
SET APPLICATION COLOR SCHEME ( colorScheme ) | ||||||||
Parameter | Type | Description | ||||||
colorScheme | Text |
![]() |
"light", "dark", or "inherited" | |||||
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:
// Force the current application in dark
SET APPLICATION COLOR SCHEME("dark")
Product: 4D
Theme: User Interface
Number:
1762
Created: 4D v19
4D Language Reference ( 4D v20)
4D Language Reference ( 4D v20.1)
4D Language Reference ( 4D v20.2)
4D Language Reference ( 4D v20.3)
4D Language Reference ( 4D v20.4)
4D Language Reference ( 4D v20.5)
4D Language Reference ( 4D v20.6)