This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v20.6
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)
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)