Gradient Color Start (BackColorStart)

The BackColorStart widget property determines the color used at the start of a gradient background in an area frame for entity. The default is white.

"BackColorStart=ColorName | HexColorNumber"

Example: "BackColorStart=#505050"

Value

Description

ColorName

Name of a web color or system color. For more information, see Standard Colors .

HexColorNumber

Hexadecimal number (prefixed by a hash mark) of a color. For example: #D90E1A.

RGBColor

RGB (Red Green Blue) numeric values in the form R,G,B. For example 255,0,0

Usage

Dynamic?

Yes for entities, No for area frames

Supported in Grid?

No

Dependencies:

Applicable only if BackcolorFill is gradient.

Description

The BackColorStart enables you to mix two background colors, shading from BackColorStart into BackColor.

Setting in ProcScript

For the entities, this property can be set in ProcScript using the $entityProperties or $curEntProperties commands.

variables
  string vProperties
endvariables

putitem/id vProperties,"Borderradius","20px"
putitem/id vProperties,"backcolor","darkseagreen"
putitem/id vProperties,"backcolorfill","gradient"
putitem/id vProperties,"gradientstart","bottom"
putitem/id vProperties,"gradientstartcolor","lightblue"

$entityproperties(ORDER.SALES)=vProperties
Result

Entity with graduated color starting at bottom

Setting in Initialization File

For area frames, you can specify this property on the basis of frame names in the [areaframes] section of the .ini. It is not possible to set this property in the Uniface IDE. For more information, see [areaframes].

[areaframes]
frame_gradient=uframe(backcolor=red;backcolorfill=gradient;backcolorstart=yellow)