Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Visual Style Item - ErrorBackColor Property

Panel
bgColor#2c3c4c

ErrorBackColor sets the color of fields in error

Member of Visual Style Item (PRIM_VSI)

Data Type - Color

Details

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 Value

Sample

Description

Aqua

Panel
 
bgColor#00FFFF


RGB - 0:255:255

Black

Panel
bgColor
 
#000000


RGB - 0:0:0

Blue

 
Panel
bgColor#0000FF


RGB - 0:0:255

Brown

Panel
 
bgColor#804000


RGB - 128:64:0

Gray

Panel
bgColor
 
#808080


RGB - 128:128:128

Green

 
Panel
bgColor#008000


RGB - 0:128:0

Fuchsia

 
Panel
bgColor#FF00FF


RGB - 255:0:255

Lime

Panel
 
bgColor#00FF00


RGB - 0:255:0

Maroon

Panel
bgColor
 
#800000


RGB - 128:0:0

Navy

Panel
bgColor
 
#000080


RGB - 0:0:128

Olive

 
Panel
bgColor#808000


RGB - 128:128:0

Purple

 
Panel
bgColor#800080


RGB - 128:0:128

Red

Panel
bgColor
 
#FF0000


RGB - 255:0:0

Silver

 
Panel
bgColor#C0C0C0


RGB - 192:192:192

Teal

Panel
bgColor
 
#008080


RGB - 0:128:128

Transparent

 



White

 
Panel
White
bgColor
 
#FFFFFF


RGB - 255:255:255

Yellow

 
Panel
bgColor#FFFF00


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