![]() |
Copyright © Cloud Software Group, Inc. All Rights Reserved |
You can specify background and foreground colors for screen fields and literal text when painting a screen table. You can type the name of the color directly into the field or a prompt screen appears with a list of valid colors.Two TIBCO Object Service Broker tables and a shareable tool are used to implement the use of color in the Screen Definer. The tables @COLOURS and @SCREENCOLOURS are explained below.The @COLOURS table contains a listing of all the colors supported by TIBCO Object Service Broker, independent of the display device. Each color has a corresponding code that uniquely identifies it and a corresponding default code that maps to one of the eight base colors supported on most display devices.
The default code assigned to each color. If a display device does not support a color, this code maps the unsupported color to one of the eight base colors supported on all devices. The @SCREENCOLOURS table, parameterized by display device, lists the colors supported for a specific device (that is, 3270). The table has a minimum listing of eight colors. It also contains a field indicating which internal device code is substituted for a color that the device does not support.The following example illustrates the @SCREENCOLOURS table instances for a 3270 display device:
Color code listing for the global colors supported by the device. Always contains a minimum of eight base colors. An internal device code used to map each color that is not supported on that device to a color that is supported. In the example, the color with a color code of 8 (BLACK), which is not supported on 3270 terminals, is mapped to the internal device code 1 (BLUE), which is supported.
![]() |
Copyright © Cloud Software Group, Inc. All Rights Reserved |