Skip to content

SET_OBJ_FOREGROUND ​

SET_OBJ_FOREGROUND sets the foreground color (i.e. the font color) with which a certain object is displayed in a table (browser).

Syntax ​

leo-grammar
CC "CoreUI" SET_OBJ_FOREGROUND	objid:idValue color:ColorSpec

Parameters ​

  • objid (idValue) -
  • color (ColorSpec) - a color specified either using a predefined color name or a hexadecimal color code. you can find information about the colors here

Returns ​

none

Details ​

An object's foreground color is used in the current session until RESET_OBJ_FOREGROUND is called.

See Also ​

RESET_OBJ_FOREGROUND
SET_OBJ_BACKGROUND

Examples ​

asc
CC "CoreUI" SET_OBJ_FOREGROUND objid:2017 color:red

Versions and Changes ​

Available since ADOxx 1.3