This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20.6
Get application color scheme

Get application color scheme 


 

Get application color scheme {( * )} -> Function result 
Parameter Type   Description
Operator in Returns color scheme of host database
Function result  Text in 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.  

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 

Product: 4D
Theme: User Interface
Number: 1763

This command has platform-specific behavior

 
PAGE CONTENTS 
 
HISTORY 

Created: 4D v19

 
ARTICLE USAGE

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)