Get application color scheme
Get application color scheme {( * )} : Text
Parameter | Type | Description | |
---|---|---|---|
* | Operator | → | Returns color scheme of host database |
Function result | Text | ← | Current application color scheme |
Description
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:
- a call to the SET APPLICATION COLOR SCHEME command;
- if SET APPLICATION COLOR SCHEME was not called or called with "inherited" parameter value, the Settings (host database Settings in case of a component);
- if settings set to "inherited", the OS user preferences.
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.
Example
var $colorScheme : Text
// Retrieve the colorScheme of the host database
$colorScheme:=Get application color scheme(*)
See also
FORM Get color scheme
SET APPLICATION COLOR SCHEME
Properties
Command number | 1763 |
Thread safe | ✗ |