Skip to main content
Version: 20 R7 BETA

Get application color scheme

Get application color scheme {( * )} : Text

ParameterTypeDescription
*OperatorReturns color scheme of host database
Function resultTextCurrent application color scheme

This command is not thread-safe, it cannot be used in preemptive code.

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:

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