Gradient Fill Style (BackColorFill)
Determines whether the background color is styled with a flat or gradient color.
"
BackColorFill=
flat
| gradient
"
Value |
Description |
---|---|
|
Background color is flat. (Default for most widgets) |
|
Background color is graduated. (Default for TabEx widget, Menu, and Panel) |
Usage
Dynamic? |
Yes for widgets, No for aread frames, menus, and panels |
Supported in Grid? |
No |
Supported in mobile? |
No |
Dependencies: |
Background Color must be set to a color. |
Entities and Area Frames
When this property is set for an entity or area frame, fields or widgets within its boundaries only inherit the background color, not the gradient.
For entity-level widgets, you can use $entityproperties or $CurEntProperties to set or get the property and its value. For more information, see $entityproperties and $CurEntProperties.
Menus and Panels
For menus, this property determines the style for the selected menu item.
For menus and panels, the property must be set using the Menu and Panel settings in the [application] section of usys.ini. For more information, see Menu and Panel.
Gradient vs Flat Tabs
In the following tabs, the Tab
Colors have been set to darkseagrean1
, and the Active Tab
Background to darkseagreen
.
Using in ProcScript
You can use $properties or $fieldproperties to set or get the property and its value. For more information, see $properties and $fieldproperties.
$fieldproperties(TAB) = "backcolorfill=flat"
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)