ucolorlist (ColorList)

The (ucolorlist) widget displays a list of system or web colors for selection in a form component. Uniface provides a logical widget called ColorList, which is mapped to ucolorlist.

ColorList widget with web colors

For more information, see Specifying a Widget for a Field or Entity.

Widget Overview
Logical widget name: ColorList
Maps to physical widget:

ucolorlist

Default definition: ColorList=ucolorlist (font=label)
Use for: String fields in which a color can be entered and displayed
Supported triggers: See ucolorlist (ColorList)
Supported properties: See ucolorlist (ColorList)
Supported in egrid(Grid) widget? No
Supports MSAA? : No

Description

The ucolorlist widget shows a predefined set of colors, including the name and color representation. The value of the field represented by this widget is the name of the color as is shown in the list. The color list provides a wrapper around the standard Microsoft Windows list box, enabling it to be used in Uniface.

The displayed color set is determined by the Color Type property. The ucolorlist widget supports the system and web colors. For example:

System Color List

Web Color List

List of system colors

List of web colors

Widget Properties

Widget Properties

Property

Technical Name

Dynamic?

3-D Effect (3d)

3D

No

Attach to Window Border (attach)

Attach

Yes

Background Color (BackColor)

BackColor

Yes

Gradient Fill Style (BackColorFill)

BackColorFill

Yes

Active Background Color (BackColorSelect)

BackColorSelect

Yes

Bottom Line (BottomLine)

BottomLine

Yes

Color Type (ColorType)

ColorType

Yes

Foreground Color (ForeColor)

ForeColor

Yes

Active Foreground Color (ForecolorSelect)

ForeColorSelect

Yes

Frame

Frame

No

Label Font (LabelFont)

LabelFont

No

Widget Font (Font)

Font

Yes

Attach Margin (AttachMargin)

AttachMargin

Yes

Popup Rectangle (PopupRect)

PopupRect

Yes

Related Topics