| 4D v20.1Get application color scheme | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
 | 
    4D v20.1
 Get application color scheme 
         | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Get application color scheme {( * )} -> Function result | ||||||||
| Parameter | Type | Description | ||||||
| * | Operator |   | Returns color scheme of host database | |||||
| Function result | Text |   | Current application color scheme | |||||
The Get application color scheme command returns the name of the actual color scheme in use at the application level.
Note: On Windows, this command always returns "light".
The actual color scheme is defined by:
The * parameter is useful when the command is called from a component: when it is passed, the command returns the color scheme of the host database.
Please refer to the SET APPLICATION COLOR SCHEME command description for details about color scheme names.
 var $colorScheme : Text
 
  // Retrieve the colorScheme of the host database
 $colorScheme:=Get application color scheme(*)
	Product:  4D
	Theme:  User Interface
	Number:  
        1763
        
        
        
	
	Created:  4D v19
	
	
	
	
	
	
	
	
	
	
	
	4D Language Reference ( 4D v20)
	
	
	4D Language Reference ( 4D v20.1)
	
	
	
 Add a comment
Add a comment