| 4D v20.1SET APPLICATION COLOR SCHEME | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
 | 
    4D v20.1
 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)
	
	
	
 Add a comment
Add a comment