Visual Style Item - ErrorBackColor Property

ErrorBackColor sets the color of fields in error

Member of Visual Style Item (PRIM_VSI)

Data Type - Color


The ErrorBackColor property denotes the color to be used for the background of Fields and Grid items when they are in error.
ErrorBackColor is set automatically when commands such as DATECHECK and VALUECHECK or validation rules as part of file I/O return an error.
Colors can be a specific RGB value e.g. 255:0:0 for Red, the name of a specific color e.g. Red, or one of a selection of Windows system features e.g. ToolTip, WindowText etc.

Allowed Values

ErrorBackColor has many available values. See the Feature Viewer (F2) or autocomplete in the IDE for additional information.

Allowed Colors

Enum ValueSampleDescription
Aqua RGB - 0:255:255
Black RGB - 0:0:0
Blue RGB - 0:0:255
Brown RGB - 128:64:0
Gray RGB - 128:128:128
Green RGB - 0:128:0
Fuchsia RGB - 255:0:255
Lime RGB - 0:255:0
Maroon RGB - 128:0:0
Navy RGB - 0:0:128
Olive RGB - 128:128:0
Purple RGB - 128:0:128
Red RGB - 255:0:0
Silver RGB - 192:192:192
Teal RGB - 0:128:128
White RGB - 255:255:255
Yellow RGB - 255:255:0

RGB Colors

RGB colors should be entered in the format [0-255]:[0-255]:[0-255]

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2