Form Designer: Color ComboBox - Properties

With the Color ComboBox (ColorBox) control, you can select a color from a list. The control displays each color in a small box in front of each color name. This box is not available in Infrastructure Application Extension , which displays only the name.

By default, all database attributes have a control. To set a color combo box, you are prompted to replace an existing control. Select the existing control in the Select Control To Be Replaced dialog box.

Property

Description

System Category

 

ClassName

ColorBox

Name

Specifies the attribute name.

Base

 

AllowReference

If True, the value can be entered by using a reference record.

IsLocked

If True, the value cannot be edited.

IsMandatory

If True, attributes always be acquired. In edit mode, these attributes are highlighted by a red background color.

ValidationCode

Defines a validation code for each input field. During validation, values from other attributes can also be queried.

ValidationMessage

Defines a message to display if the validation fails.

Specific Category

 

ColorSchema

Specifies the table in which the colors are defined. Default is TB_COLOR_ACAD.

You can create your own color schema table in order to provide different color definitions (in the MAPSYS user, arbitrary name). The table must have the following attributes:

- ID (varchar2): value of the color;

- VALUE (varchar2): name displayed for the color

- RGB_VALUE (varchar2(6)): RGB color, to display the color in the control and the list.

For Infrastructure Application Extension applications, you can use TB_COLOR_WEB, which stores W3C color definitions.

RGBButton

If set to True, generates an additional button that displays a free RGB color selection dialog box, to select a RGB color.

ValueDefault

Specifies a default value to insert when you add a new record. You can also use this for the AutoIncrement value or date/time and to create GUIDs.